llvm-6502/lib/Target/X86/MCTargetDesc
Kevin Enderby 44ccedc273 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220599 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-24 22:39:40 +00:00
..
CMakeLists.txt MC: create X86WinCOFFStreamer for target specific behaviour 2014-04-27 03:48:12 +00:00
LLVMBuild.txt Update library dependencies. 2014-07-24 02:10:42 +00:00
Makefile
X86AsmBackend.cpp The MCAssembler.h include isn't used. 2014-09-12 20:29:17 +00:00
X86BaseInfo.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
X86ELFObjectWriter.cpp Fix pr19645. 2014-05-03 19:57:04 +00:00
X86ELFRelocationInfo.cpp [C++] Use 'nullptr'. Target edition. 2014-04-25 05:30:21 +00:00
X86FixupKinds.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
X86MachObjectWriter.cpp Fix a Mach-O assembler segfault for a subtraction expression with an undefined symbol. 2014-10-24 22:39:40 +00:00
X86MachORelocationInfo.cpp [C++] Use 'nullptr'. Target edition. 2014-04-25 05:30:21 +00:00
X86MCAsmInfo.cpp Move getNonexecutableStackSection up to the base ELF class. 2014-10-15 15:44:16 +00:00
X86MCAsmInfo.h Move getNonexecutableStackSection up to the base ELF class. 2014-10-15 15:44:16 +00:00
X86MCCodeEmitter.cpp Add support for the X86 secure guard extensions instructions in assembler (SGX). 2014-07-31 23:57:38 +00:00
X86MCTargetDesc.cpp Simplify handling of --noexecstack by using getNonexecutableStackSection. 2014-10-15 16:12:52 +00:00
X86MCTargetDesc.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
X86WinCOFFObjectWriter.cpp X86: Split the relocation selection up 2014-04-08 02:15:13 +00:00
X86WinCOFFStreamer.cpp MC: split Win64EHUnwindEmitter into a shared streamer 2014-08-07 02:59:41 +00:00