1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/lib/MC
Jim Grosbach 2ec534dffe 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.

llvm-svn: 133071
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 Roll out r126425 and r126450 to see if it fixes the failures on the buildbots. 2011-02-25 16:30:32 +00:00
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 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 Add constructors to MCElfStreamer and MCObjectStreamer to take an extra MCAssembler * argument. 2011-03-09 17:33:05 +00:00
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 Gas is very inconsistent about when a relaxation/relocation is needed. Do 2011-02-16 03:25:55 +00:00
MCPureStreamer.cpp Roll out r126425 and r126450 to see if it fixes the failures on the buildbots. 2011-02-25 16:30:32 +00:00
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp Be nice to Xcore and the XMOS assembler and avoid quoting section names 2011-03-04 20:03:14 +00:00
MCSectionMachO.cpp Reapply 127939 since Daniel fixed the breakage. <rdar://problem/9012638> 2011-03-19 02:42:31 +00:00
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