llvm-project/lld/test/mach-o
Jez Ng 415c0cd698 [lld-macho] Switch default to new Darwin backend
The new Darwin backend for LLD is now able to link reasonably large
real-world programs on x86_64. For instance, we have achieved
self-hosting for the X86_64 target, where all LLD tests pass when
building lld with itself on macOS. As such, we would like to make it the
default back-end.

The new port is now named `ld64.lld`, and the old port remains
accessible as `ld64.lld.darwinold`

This [annoucement email][1] has some context. (But note that, unlike
what the email says, we are no longer doing this as part of the LLVM 12
branch cut -- instead we will go into LLVM 13.)

Numerous mechanical test changes were required to make this change; in
the interest of creating something that's reviewable on Phabricator,
I've split out the boring changes into a separate diff (D95905). I plan to
merge its contents with those in this diff before landing.

(@gkm made the original draft of this diff, and he has agreed to let me
take over.)

[1]: https://lists.llvm.org/pipermail/llvm-dev/2021-January/147665.html

Reviewed By: #lld-macho, thakis

Differential Revision: https://reviews.llvm.org/D95204
2021-03-01 12:30:10 -05:00
..
Inputs [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
PIE.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
align_text.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
arm-interworking-movw.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
arm-interworking.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
arm-shims.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
arm-subsections-via-symbols.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
arm64-reloc-negDelta32-fixup.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
arm64-relocs-errors-delta64-offset.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
arm64-section-order.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
bind-opcodes.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
cstring-sections.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
data-in-code-load-command.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
data-only-dylib.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
dead-strip-globals.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
debug-syms.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
demangle.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
dependency_info.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
do-not-emit-unwind-fde-arm64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
dso_handle.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
dylib-install-names.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
eh-frame-relocs-arm64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
empty-sections.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
error-simulator-vs-macosx.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
exe-offsets.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
exe-segment-overlap.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
executable-exports.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
export-trie-order.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
exported_symbols_list-dylib.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
exported_symbols_list-obj.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
exported_symbols_list-undef.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
fat-archive.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
filelist.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
flat_namespace_undef_error.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
flat_namespace_undef_suppress.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
force_load-dylib.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
force_load-x86_64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
framework-user-paths.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
function-starts-load-command.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
gcc_except_tab-got-arm64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
got-order.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
hello-world-arm64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
hello-world-armv6.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
hello-world-armv7.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
hello-world-x86.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
hello-world-x86_64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
image-base.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
infer-arch.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
interposing-section.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
keep_private_externs.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
lazy-bind-x86_64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
lc_segment_filesize.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
lib-search-paths.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
library-order.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
library-rescan.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
libresolve-bizarre-root-override.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
libresolve-multiple-syslibroots.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
libresolve-one-syslibroot.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
libresolve-simple.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
libresolve-user-paths.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
libresolve-z.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
lit.local.cfg
load-commands-size.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
mach_header-cpusubtype.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
mh_bundle_header.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
mh_dylib_header.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
objc-category-list-atom.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
objc-image-info-host-vs-simulator.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
objc-image-info-invalid-size.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
objc-image-info-invalid-version.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
objc-image-info-mismatched-swift-version.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
objc-image-info-pass-output.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
objc-image-info-simulator-vs-host.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
objc-image-info-unsupported-gc.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
objc_export_list.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
order_file-basic.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-aliases.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-arm-relocs.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-cfstring32.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-cfstring64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-compact-unwind32.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-compact-unwind64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-data-in-code-armv7.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-data-in-code-x86.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-data-relocs-arm64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-data-relocs-x86_64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-data.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-eh-frame-relocs-x86_64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-eh-frame-x86-anon.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-eh-frame-x86-labeled.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-eh-frame.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-function.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-initializers32.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-initializers64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-literals-error.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-literals.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-non-lazy-pointers.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-relocs-x86.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-section-no-symbol.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-tentative-defs.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-text-relocs-arm64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-text-relocs-x86_64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
parse-tlv-relocs-x86-64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
re-exported-dylib-ordinal.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
rpath.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
run-tlv-pass-x86-64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
sdk-version-error.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
sectalign.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
sectattrs.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
sectcreate.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
seg-protection-arm64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
seg-protection-x86_64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
source-version.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
stack-size.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
string-table.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
stub-link.s [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
subsections-via-symbols-default.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
twolevel_namespace_undef_dynamic_lookup.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
twolevel_namespace_undef_warning_suppress.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
unwind-info-simple-arm64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
unwind-info-simple-x86_64.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
upward-dylib-load-command.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
upward-dylib-paths.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
usage.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
use-dylib.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
use-simple-dylib.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
version-min-load-command-object.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
version-min-load-command.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
write-final-sections.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
wrong-arch-error.yaml [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00