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
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
MCCodeEmitter.cpp
MCContext.cpp
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 Make all static functions become static class methods. Move shared (duplicated) functions to new MCELF class. 2011-02-28 21:45:04 +00:00
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
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Factor some code into a new EmitFrames method. 2011-05-10 03:14:15 +00:00
MCNullStreamer.cpp
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
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
WinCOFFStreamer.cpp Implement emission of all Win64 exception tables. Make the COFF streamer emit 2011-05-22 04:15:07 +00:00