llvm-6502/lib/MC
Jim Grosbach e82b8eeaa2 Diagnostic for undefined assembler local symbols.
Re-apply 133010, with fixes for inline assembler.

Original commit message:
"When an assembler local symbol is used but not defined in a module, a
Darwin assembler wants to issue a diagnostic to that effect."

Added fix to only perform the check when finalizing, as otherwise we're not
done and undefined symbols may simply not have been encountered yet.

Passes "make check" and a self-host check on Darwin.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133071 91177308-0d34-0410-b5e6-96231b3b80d8
2011-06-15 18:33:28 +00:00
..
MCDisassembler switch to using a smallvector to avoid allocations for most normal size instructions. 2011-05-22 04:53:24 +00:00
MCParser Diagnostic for undefined assembler local symbols. 2011-06-15 18:33:28 +00:00
CMakeLists.txt Make the COFF streamer emit unwind info when processing a .seh_handlerdata 2011-05-22 03:01:05 +00:00
ELFObjectWriter.cpp Remove an uneeded switch - Turns out reloc results are identical w/o the switch. (face+palm) 2011-06-09 19:13:45 +00:00
ELFObjectWriter.h Address the last bit of relocation flag related divergence betweeen 2011-05-11 22:53:06 +00:00
MachObjectWriter.cpp MC/Mach-O: Update getSymbolAddress() to support evaluation of variables. 2011-04-29 18:13:42 +00:00
Makefile
MCAsmInfo.cpp Rename DwarfRequiresRelocationForStmtList to 2011-05-10 20:35:05 +00:00
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp Rename DwarfRequiresRelocationForStmtList to 2011-05-10 20:35:05 +00:00
MCAsmStreamer.cpp Don't hardcode the %reg format in the streamer. 2011-06-02 02:34:55 +00:00
MCAssembler.cpp Don't force relaxation of AdvanceLoc instructions on OS X. gdb is happy with 2011-05-08 14:35:21 +00:00
MCCodeEmitter.cpp
MCContext.cpp Make the StringMaps attached to MCContext use the MCContext's allocator; 2011-04-18 05:02:31 +00:00
MCDisassembler.cpp
MCDwarf.cpp No reason not to allow defining the CFA as a reg w/ offset zero. 2011-05-20 21:50:09 +00:00
MCELF.cpp sets bit 0 of the function address of thumb function in .symtab 2011-05-16 16:17:21 +00:00
MCELF.h
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp sets bit 0 of the function address of thumb function in .symtab 2011-05-16 16:17:21 +00:00
MCELFStreamer.h
MCExpr.cpp Fix emission of PPC64 assembler on non-darwin platforms by splitting 2011-06-09 20:25:38 +00:00
MCInst.cpp
MCInstPrinter.cpp Don't hardcode the %reg format in the streamer. 2011-06-02 02:34:55 +00:00
MCLabel.cpp
MCLoggingStreamer.cpp Simplify the handling of pcrel relocations on ELF. Now we do the right thing 2011-05-01 03:50:49 +00:00
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Factor some code into a new EmitFrames method. 2011-05-10 03:14:15 +00:00
MCNullStreamer.cpp Simplify the handling of pcrel relocations on ELF. Now we do the right thing 2011-05-01 03:50:49 +00:00
MCObjectStreamer.cpp Misc code refactorings: 2011-05-19 21:40:34 +00:00
MCObjectWriter.cpp
MCPureStreamer.cpp
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp Make EmitIntValue() work properly on big-endian targets. 2011-06-07 17:31:02 +00:00
MCSymbol.cpp MC: Change variable symbols to be recognized as defined, by assigning their sections based on FindAssociatedSection(). 2011-04-29 18:20:17 +00:00
MCValue.cpp
MCWin64EH.cpp Add a parameter to the Win64 EH section getters to get a section with a 2011-05-27 19:09:24 +00:00
TargetAsmBackend.cpp
WinCOFFObjectWriter.cpp Fix relative relocations. This is sufficient for running the rust testsuite with 2011-04-21 18:36:50 +00:00
WinCOFFStreamer.cpp Implement emission of all Win64 exception tables. Make the COFF streamer emit 2011-05-22 04:15:07 +00:00