1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/MC/MachO
Lang Hames e025323d29 [MachO] Add MachO alt-entry directive support.
This patch adds support for the MachO .alt_entry assembly directive, and uses
it for global aliases with non-zero GEP offsets. The alt_entry flag indicates
that a symbol should be layed out immediately after the preceding symbol.
Conceptually it introduces an alternate entry point for a function or data
structure. E.g.:

safe_foo:
  // check preconditions for foo
.alt_entry fast_foo
fast_foo:
  // body of foo, can assume preconditions.

The .alt_entry flag is also implicitly set on assembly aliases of the form:

a = b + C

where C is a non-zero constant, since these have the same effect as an
alt_entry symbol: they introduce a label that cannot be moved relative to the
preceding one. Setting the alt_entry flag on aliases of this form fixes
http://llvm.org/PR25381.

llvm-svn: 263521
2016-03-15 01:43:05 +00:00
..
AArch64 [AArch64] Refactor AArch64FrameLowering::emitPrologue. NFC. 2016-03-14 18:24:34 +00:00
ARM [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
PowerPC [MachO] Stop generating *coal* sections. 2015-10-15 05:28:38 +00:00
absolute.s [MachO] Add MachO alt-entry directive support. 2016-03-15 01:43:05 +00:00
absolutize.s
altentry.s [MachO] Add MachO alt-entry directive support. 2016-03-15 01:43:05 +00:00
bad-darwin-x86_64-32-bit-abs-addr.s
bad-darwin-x86_64-diff-relocs.s [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
bad-darwin-x86_64-reloc-expr.s
bad-dollar.s
bad-indirect-symbols.s
bad-macro.s
bss.s
coal-sections-x86_64.s [MachO] Stop generating *coal* sections. 2015-10-15 05:28:38 +00:00
comm-1.s
cstexpr-gotpcrel-32.ll
cstexpr-gotpcrel-64.ll
darwin-complex-difference.s
darwin-version-min-load-command.s MachO: support tvOS and watchOS version min commands in llvm-objdump 2015-11-02 21:26:58 +00:00
darwin-x86_64-diff-reloc-assign-2.s
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
eh_symbol.s
eh-frame-reloc.s
empty-twice.ll [MC] Add a test for state reset in MCMachOStreamer 2015-12-05 01:02:53 +00:00
file.s
gen-dwarf-cpp.s
gen-dwarf-macro-cpp.s
gen-dwarf-producer.s
gen-dwarf.s Form reform for MCDwarf. 2015-12-23 01:57:31 +00:00
i386-large-relocations.s
indirect-symbols.s
jcc.s
lcomm-attributes.s
linker-option-1.s
linker-option-2.s
linker-options.ll
lit.local.cfg
loc.s
osx-version-min-load-command.s
pcrel-to-other-section.s
pr19185.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
tlv-reloc.s
tlv.s
values.s
variable-errors.s
variable-exprs.s [MachO] Add MachO alt-entry directive support. 2016-03-15 01:43:05 +00:00
weakdef.s
x86_32-optimal_nop.s
x86_32-scattered-reloc-fallback.s
x86_32-sections.s
x86_32-symbols.s
x86_64-mergeable.s
x86_64-reloc-arithmetic.s [MachO] Add MachO alt-entry directive support. 2016-03-15 01:43:05 +00:00
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