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
MachObjectWriter.cpp
Makefile
MCAsmInfo.cpp
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
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
MCELF.cpp
MCELF.h
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp
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
MCNullStreamer.cpp
MCObjectStreamer.cpp
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