hanchenye-llvm-project/llvm/lib
Kevin Enderby 2813f496d9 Fix a Mach-O assembler segfault for a subtraction expression with an undefined symbol.
In a Mach-O object file a relocatable expression of the form
SymbolA - SymbolB + constant is allowed when both symbols are
defined in a section.  But when either symbol is undefined it
is an error.

The code was crashing when it had an undefined symbol in this case.
And should have printed a error message using the location information
in the relocation entry.

rdar://18678402

llvm-svn: 220599
2014-10-24 22:39:40 +00:00
..
Analysis [InstSimplify] Support constant folding to vector of pointers 2014-10-22 12:18:48 +00:00
AsmParser Make CallingConv::ID an alias of "unsigned". 2014-09-10 18:00:17 +00:00
Bitcode Don't ever call materializeAllPermanently during LTO. 2014-10-24 18:13:04 +00:00
CodeGen Sink DwarfUnit::constructImportedEntityDIE into DwarfCompileUnit. 2014-10-24 21:31:09 +00:00
DebugInfo [dwarfdump] Dump DW_AT_ranges values inline in the debug_info dump. 2014-10-23 04:08:34 +00:00
ExecutionEngine [MCJIT] Make repeat calls to MCJIT::getPointerToFunction for declarations safe. 2014-10-22 23:18:42 +00:00
IR Don't ever call materializeAllPermanently during LTO. 2014-10-24 18:13:04 +00:00
IRReader Pass a && to getLazyBitcodeModule. 2014-09-03 17:31:46 +00:00
LTO LTO: Document the Boolean argument from r218784 2014-10-02 21:11:04 +00:00
LineEditor
Linker Don't ever call materializeAllPermanently during LTO. 2014-10-24 18:13:04 +00:00
MC Attempt to fix the build after r220439 2014-10-22 22:46:05 +00:00
Object Don't ever call materializeAllPermanently during LTO. 2014-10-24 18:13:04 +00:00
Option Add an overload of getLastArgNoClaim taking two OptSpecifiers. 2014-09-12 19:42:53 +00:00
ProfileData Reduce double set lookups. NFC. 2014-10-10 15:32:50 +00:00
Support Modernize doxygen comments in Support/Dwarf.h 2014-10-23 04:08:38 +00:00
TableGen Eliminate some deep std::vector copies. NFC. 2014-10-03 18:33:16 +00:00
Target Fix a Mach-O assembler segfault for a subtraction expression with an undefined symbol. 2014-10-24 22:39:40 +00:00
Transforms If requested, apply function merging at -O0 too. It's useful there to reduce the time to compile. 2014-10-23 23:49:31 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile