llvm/test/MC/MachO
Kevin Enderby f50f3a3bb9 Fix a bug in darwin's 32-bit X86 handling of evaluating fixups.
Where it would use a scattered relocation entry but falls back to a
normal relocation entry because the FixupOffset is more than 24-bits.

The bug is in the X86MachObjectWriter::RecordScatteredRelocation() where
it changes reference parameter FixedValue but then returns false to indicate
it did not create a scattered relocation entry.  The fix is simply to save the
original value of the parameter FixedValue at the start of the method and
restore it if we are returning false in that case.

rdar://15526046


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196432 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-04 23:36:24 +00:00
..
ARM [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
absolute.s
absolutize.s
bad-darwin-x86_64-32-bit-abs-addr.s The darwin integrated assembler for X86 in 64-bit mode is not rejecting 2013-08-29 00:19:03 +00:00
bad-darwin-x86_64-diff-relocs.s Fix a crash with X86 Mach-O and a subtraction expression where both symbols are 2013-08-12 22:45:44 +00:00
bad-dollar.s Have the integrated assembler give an error if $1 is used as an identifier in 2013-01-22 21:09:20 +00:00
bad-indirect-symbols.s The integrated darwin assembler can hang in an infinite loop (or get an assert 2013-08-28 17:50:59 +00:00
bad-macro.s Add a warning when there is a macro defintion that has named parameters but 2013-01-22 21:44:53 +00:00
bss.s Add test I forgot to git add in r191824. 2013-10-02 14:49:41 +00:00
comm-1.s
darwin-complex-difference.s
darwin-x86_64-diff-reloc-assign-2.s Fixed a crash in the integrated assembler for Mach-O when a symbol difference 2013-09-05 20:25:06 +00:00
darwin-x86_64-diff-reloc-assign.s
darwin-x86_64-diff-relocs.s
darwin-x86_64-nobase-relocs.s
darwin-x86_64-reloc-offsets.s
darwin-x86_64-reloc.s
data.s
debug_frame.s
diff-with-two-sections.s
direction_labels.s Revert r15266. This fixes llvm.org/pr15266. 2013-02-14 16:23:08 +00:00
empty-dwarf-lines.s
file.s
gen-dwarf-cpp.s Now that llvm-dwarfdump supports flags to specify which DWARF section to dump, 2013-01-25 21:44:53 +00:00
gen-dwarf-macro-cpp.s Now that llvm-dwarfdump supports flags to specify which DWARF section to dump, 2013-01-25 21:44:53 +00:00
gen-dwarf-producer.s Now that llvm-dwarfdump supports flags to specify which DWARF section to dump, 2013-01-25 21:44:53 +00:00
gen-dwarf.s Now that llvm-dwarfdump supports flags to specify which DWARF section to dump, 2013-01-25 21:44:53 +00:00
i386-large-relocations.s
indirect-symbols.s
jcc.s
lcomm-attributes.s
linker-option-1.s [MC/Mach-O] Add AsmParser support for .linker_option directive. 2013-01-18 01:25:48 +00:00
linker-option-2.s [MC/Mach-O] Add support for linker options in Mach-O files. 2013-01-18 01:26:07 +00:00
linker-options.ll [MC/Mach-O] Load commands are supposed to 8-byte aligned on 64-bit. 2013-01-22 03:42:49 +00:00
lit.local.cfg [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
loc.s
pcrel-to-other-section.s
previous.s
pushsection.s
relax-jumps.s
relax-recompute-align.s
reloc-diff.s
reloc-pcrel-offset.s
reloc-pcrel.s
reloc.s
section-align-1.s
section-align-2.s
section-attributes.s
section-flags.s
string-table.s
symbol-diff.s
symbol-flags.s
symbol-indirect.s
symbols-1.s
tbss.s
tdata.s
temp-labels.s
thread_init_func.s
tls.s
tlv-bss.ll Using the integrated assembler we'd fail to change section to the 2013-08-07 21:13:06 +00:00
tlv-reloc.s
tlv.s
values.s
variable-errors.s
variable-exprs.s
weakdef.s
x86_32-optimal_nop.s
x86_32-scattered-reloc-fallback.s Fix a bug in darwin's 32-bit X86 handling of evaluating fixups. 2013-12-04 23:36:24 +00:00
x86_32-sections.s
x86_32-symbols.s
x86_64-reloc-arithmetic.s
x86_64-sections.s
x86_64-symbols.s
x86-data-in-code.ll
zerofill-1.s
zerofill-2.s
zerofill-3.s
zerofill-4.s
zerofill-5.s
zerofill-sect-align.s