llvm-project/lld/test/MachO
Jez Ng 4308f031cd [lld-macho] Align cstrings less conservatively
Previously, we aligned every cstring to 16 bytes as a temporary hack to
deal with https://github.com/llvm/llvm-project/issues/50135. However, it
was highly wasteful in terms of binary size.

To recap, in contrast to ELF, which puts strings that need different
alignments into different sections, `clang`'s Mach-O backend puts them
all in one section.  Strings that need to be aligned have the .p2align
directive emitted before them, which simply translates into zero padding
in the object file. In other words, we have to infer the alignment of
the cstrings from their addresses.

We differ slightly from ld64 in how we've chosen to align these
cstrings. Both LLD and ld64 preserve the number of trailing zeros in
each cstring's address in the input object files. When deduplicating
identical cstrings, both linkers pick the cstring whose address has more
trailing zeros, and preserve the alignment of that address in the final
binary. However, ld64 goes a step further and also preserves the offset
of the cstring from the last section-aligned address.  I.e. if a cstring
is at offset 18 in the input, with a section alignment of 16, then both
LLD and ld64 will ensure the final address is 2-byte aligned (since
`18 == 16 + 2`). But ld64 will also ensure that the final address is of
the form 16 * k + 2 for some k (which implies 2-byte alignment).

Note that ld64's heuristic means that a dedup'ed cstring's final address is
dependent on the order of the input object files. E.g. if in addition to the
cstring at offset 18 above, we have a duplicate one in another file with a
`.cstring` section alignment of 2 and an offset of zero, then ld64 will pick
the cstring from the object file earlier on the command line (since both have
the same number of trailing zeros in their address). So the final cstring may
either be at some address `16 * k + 2` or at some address `2 * k`.

I've opted not to follow this behavior primarily for implementation
simplicity, and secondarily to save a few more bytes. It's not clear to me
that preserving the section alignment + offset is ever necessary, and there
are many cases that are clearly redundant. In particular, if an x86_64 object
file contains some strings that are accessed via SIMD instructions, then the
.cstring section in the object file will be 16-byte-aligned (since SIMD
requires its operand addresses to be 16-byte aligned). However, there will
typically also be other cstrings in the same file that aren't used via SIMD
and don't need this alignment. They will be emitted at some arbitrary address
`A`, but ld64 will treat them as being 16-byte aligned with an offset of
`16 % A`.

I have verified that the two repros in https://github.com/llvm/llvm-project/issues/50135
work well with the new alignment behavior.

Fixes https://github.com/llvm/llvm-project/issues/54036.

Reviewed By: #lld-macho, oontvoo

Differential Revision: https://reviews.llvm.org/D121342
2022-03-10 15:18:15 -05:00
..
Inputs [lld-macho][nfc] Decouple tapi-link.s test from libSystem 2022-03-03 19:48:59 -05:00
invalid [lld-macho] Have relocation address included in range-check error message 2022-02-28 21:56:38 -05:00
tools [lld/mac] Add explicit "no unwind info" entries for functions without unwind info 2021-06-22 06:12:42 -04:00
U-dynamic-lookup.s [lld-macho][nfc] Clean up tests 2021-05-10 15:45:54 -04:00
abs-symbols.s [lld-macho][nfc] Extend abs-symbol.s to test for local absolute symbols 2021-04-08 12:21:01 -04:00
add-ast-path.s [lld-macho] Support -add_ast_path 2021-04-08 14:12:55 -04:00
adhoc-codesign-hash.s Add MachO signature verification test 2021-09-16 17:55:32 -07:00
adhoc-codesign.s [lld-macho][nfc] Centralize usages of ld64.lld in tests 2022-02-10 17:27:07 -08:00
application-extension.s [lld/mac] Fix application-extension.s failure after 8e8701abca 2021-07-27 14:39:43 -04:00
arch-multiple.s [lld/mac] Implement -arch_multiple 2021-07-06 00:25:18 -04:00
arch.s [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -07:00
archive-symbol-resolution.s [lld-macho][nfc] Rename some tests for consistency 2022-03-04 14:21:16 -05:00
archive.s [lld-macho] Implement -noall_load 2022-01-19 13:12:18 -08:00
arm-branch-relocs.s [lld-macho] Preliminary support for ARM_RELOC_BR24 2021-05-05 14:41:01 -04:00
arm64-32-reloc-got-load.s [llvm-objdump] Improve newline consistency between different pieces of information 2021-05-04 09:56:07 -07:00
arm64-32-stubs.s [lld-macho] Add support for arm64_32 2021-04-15 21:16:33 -04:00
arm64-reloc-got-load.s [llvm-objdump] Improve newline consistency between different pieces of information 2021-05-04 09:56:07 -07:00
arm64-reloc-pointer-to-got.s [lld-macho][nfc] Convert tabs to spaces 2021-04-11 23:25:23 -04:00
arm64-reloc-tlv-load.s [llvm-objdump] Improve newline consistency between different pieces of information 2021-05-04 09:56:07 -07:00
arm64-relocs.s [lld-macho][nfc] Convert tabs to spaces 2021-04-11 23:25:23 -04:00
arm64-stubs.s [lld-macho][nfc] Add test for ARM64 stubs 2021-04-07 12:08:12 -04:00
arm64-thunk-starvation.s [lld/mac] Leave more room for thunks in thunk placement code 2021-08-30 22:09:05 -04:00
arm64-thunks.s [lld/mac] Don't assert on -dead_strip + arm64 range extension thunks 2021-08-27 23:27:45 -04:00
bind-opcodes.s [lld-macho][nfc] Use %lld-watchos substitution in bind-opcodes.s 2022-03-03 19:00:28 -05:00
bitcode-bundle.ll [lld-macho] Ensure segments are laid out contiguously 2021-04-20 16:58:57 -04:00
bss.s [lld-macho] Ensure segments are laid out contiguously 2021-04-20 16:58:57 -04:00
builtin-rename.s [lld-macho] Put GOT into `__DATA` segment where appropriate 2021-10-26 11:38:01 -04:00
bundle-loader.s [lld-macho] Don't reference entry symbol for non-executables 2021-05-09 20:30:26 -04:00
cfstring-dedup.s [lld-macho] Deduplicate CFStrings during ICF 2022-03-08 08:34:03 -05:00
cgprofile-icf.s [lld-macho][nfc] Avoid using absolute addresses in cgprofile-icf.s 2022-03-03 19:00:28 -05:00
cgprofile-obj.s [lld-macho] Port CallGraphSort from COFF/ELF 2022-01-12 10:47:04 -05:00
cgprofile-orderfile.s [lld-macho] Allow order files and call graph sorting to be used together 2022-02-17 14:19:34 -05:00
cgprofile-print.s [lld-macho] Port CallGraphSort from COFF/ELF 2022-01-12 10:47:04 -05:00
color-diagnostics.test [MachO] Use error instead of fatal for missing -arch 2021-10-31 16:31:21 -07:00
common-symbol-coalescing.s [lld-macho][nfc] Simplify common-symbol-coalescing test 2021-07-29 11:07:50 -04:00
common-symbol-resolution.s [lld-macho][nfc] Fix test to reflect that symbol attributes don't matter within an archive 2021-07-23 11:49:00 -04:00
compact-unwind-both-local-and-dylib-personality.s [lld-macho][nfc] Clean up trailing spaces and tabs 2022-02-15 21:33:26 -05:00
compact-unwind-generated.test [lld-macho] Have tests default to targeting macos 10.15 2021-04-23 09:25:08 -04:00
compact-unwind-stack-ind.s [lld/mac] Don't fold UNWIND_X86_64_MODE_STACK_IND unwind entries 2021-06-27 06:49:32 -04:00
compact-unwind-sym-relocs.s [lld-macho] Fix symbol relocs handling for LSDAs 2021-11-12 16:02:49 -05:00
compact-unwind.s [lld-macho] Support renaming of LSDA section 2021-11-10 19:31:54 -05:00
cstring-align.s [lld-macho] Align cstrings less conservatively 2022-03-10 15:18:15 -05:00
cstring-dedup.s [lld-macho] Align cstrings less conservatively 2022-03-10 15:18:15 -05:00
data-in-code.s [lld/mac] Support -data_in_code_info, -function_starts flags 2021-06-18 13:01:42 -04:00
dead-strip-align.s [lld-macho] Preserve alignment for non-deduplicated cstrings 2021-06-28 22:26:43 -04:00
dead-strip-dylibs.s [lld/mac] Add a test for -reexport_library + -dead_strip_dylibs 2021-06-07 13:44:58 -04:00
dead-strip.s [lld][Macho] Include dead-stripped symbols in mapfile 2022-01-28 10:51:27 -08:00
demangle.s [lld-macho] Implement option: -undefined TREATMENT 2020-12-17 17:40:50 -08:00
dependency-info.s [lld-macho][nfc] Clean up tests 2021-05-10 15:45:54 -04:00
discard-llvm-sections.s [lld-macho][test] Remove ld64.lld: prefix in a diagnostic 2021-08-16 19:41:12 -07:00
driver.test [MachO] Use error instead of fatal for missing -arch 2021-10-31 16:31:21 -07:00
dso-handle.s [llvm-objdump] Print memory operand addresses as regular comments 2021-06-28 14:25:22 +07:00
dyld-stub-binder.s [lld/mac] Always reference dyld_stub_binder when linked with libSystem 2021-07-11 13:37:48 -04:00
dylib-stub.yaml [yaml2obj][MachO] Rename PayloadString to Content 2021-07-26 09:04:51 -07:00
dylib-version.s [mac/lld] simplify code using PackedVersion instead of VersionTuple 2020-12-15 19:23:07 -05:00
dylib.s [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -07:00
dylink-ordinal.s [lld/mac] Make tbd files in one test valid 2021-07-12 11:13:54 -04:00
dylink.s [lld/mac] fill in current and compatibility version for LC_LOAD_(WEAK_)DYLIB 2020-12-15 19:34:59 -05:00
encryption-info.s [lld/mac] add aarch64 to requirements of encryption-info.s test 2021-04-21 14:21:42 -04:00
entry-symbol.s [lld-macho] Treat undefined symbols uniformly 2021-05-10 15:45:54 -04:00
error-limit.test [lld] Add test suite mode for running LLD main twice 2021-11-01 14:26:54 -07:00
export-options.s [lld-macho][nfc] Clean up trailing spaces and tabs 2022-02-15 21:33:26 -05:00
export-trie.s [lld-macho] Have tests default to targeting macos 10.15 2021-04-23 09:25:08 -04:00
fat-arch.s [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -07:00
fatal-warnings.s [lld-macho][nfc] Rename %no_fatal_warnings_lld in tests 2022-02-11 10:06:38 -05:00
filelist.s [lld-macho][nfc] Clean up tests 2020-12-21 14:44:08 -05:00
final-output.s [lld/mac] Implement -final_output 2021-07-05 20:06:26 -04:00
flat-namespace.s [lld/mac] Add test coverage for --reproduce + -flat_namespace 2021-06-03 21:00:35 -04:00
force-load-swift-libs.ll [lld-macho] Implement -force_load_swift_libs 2021-06-07 23:48:35 -04:00
force-load.s [re-land][lld-macho] Avoid force-loading the same archive twice 2021-06-18 22:43:50 -04:00
framework.s [lld/mac] Make framework symlinks in tests more realistic 2021-06-09 20:39:39 -04:00
function-starts.s [test][lld-macho] Improve LC_FUNCTION_STARTS test coverage 2022-01-30 09:46:36 -08:00
header.s [lld-macho] Initial scaffolding for ARM32 support 2021-04-30 16:17:25 -04:00
headerpad.s [lld][MachO] Add support for LC_DATA_IN_CODE 2021-06-14 19:21:59 -07:00
icf-arm64.s [lld/mac] Don't assert when ICFing arm64 code 2021-10-27 14:02:07 -04:00
icf-literals.s [lld/mac] Fix mislink with ICF 2021-10-30 18:58:59 -04:00
icf-options.s [lld/mac] Don't warn on both --icf=all and -no_deduplicate 2021-09-29 08:25:21 -04:00
icf-scale.s [lld-macho][nfc] Clean up trailing spaces and tabs 2022-02-15 21:33:26 -05:00
icf-undef.s [lld-macho] Deduplicate CFStrings during ICF 2022-03-08 08:34:03 -05:00
icf.s [lld-macho] Deduplicate CFStrings during ICF 2022-03-08 08:34:03 -05:00
implicit-dylibs.s [lld/mac] Make framework symlinks in tests more realistic 2021-06-09 20:39:39 -04:00
indirect-symtab.s [lld/mac] Mark private externs with GOT relocs as LOCAL in indirect symbtab 2021-10-15 13:24:47 -04:00
install-name.s [lld-macho][nfc] Rename %no_fatal_warnings_lld in tests 2022-02-11 10:06:38 -05:00
lc-build-version.s [lld][MachO] Add support for LC_VERSION_MIN_* load commands 2021-04-21 05:41:14 -07:00
lc-linker-option.ll [lld-macho] Fix duplicate symbols with relocatable objects 2022-02-02 14:54:10 -08:00
link-search-at-executable-path.s [lld/mac] Implement support for searching dylibs with @executable_path/ in install name 2021-06-06 20:01:50 -04:00
link-search-at-loader-path-symlink.s [lld/mac] When handling @loader_path, use realpath() of symlinks 2021-06-09 20:36:07 -04:00
link-search-at-loader-path.s [lld/mac] Implement support for searching dylibs with @loader_path/ in install name 2021-06-06 20:19:50 -04:00
link-search-at-rpath.s [lld/mac] Implement support for searching dylibs with @rpath/ in install name 2021-06-07 06:22:52 -04:00
link-search-order.s [lld/mac] Search .tbd before binary for framework files too 2021-09-14 15:26:45 -04:00
linkedit-contiguity.s [lld-macho][nfc] Remove unnecessary -pie flags in tests 2021-11-04 00:02:03 -04:00
lit.local.cfg [lld-macho][nfc] Rename %no_fatal_warnings_lld in tests 2022-02-11 10:06:38 -05:00
literal-dedup.s [lld-macho] Allow deduplicate-literals to be overridden 2022-01-18 15:42:59 -08:00
load-command-sequence.s [lld/mac] Change load command order to be more like ld64 2021-07-19 15:04:32 -04:00
load-commands.s [mac/lld] Run tests with -fatal_warnings by default 2020-12-03 21:23:47 -05:00
local-got.s [lld][MachO] Add support for LC_DATA_IN_CODE 2021-06-14 19:21:59 -07:00
local-private-extern.yaml [lld-macho] Handle non-extern symbols marked as private extern 2021-06-18 16:36:14 -04:00
lto-archive.ll [lld-macho] Include archive name in bitcode files 2021-12-07 19:11:23 -05:00
lto-archivecollision.ll [lld/mac] Add missing REQUIRES line to new test 2021-07-23 10:40:22 -04:00
lto-cache-dsymutil.ll [Support] Use final filename for Caching buffer identifier 2021-12-04 22:25:49 -05:00
lto-cache.ll [lld-macho] Add LTO cache support 2021-07-15 12:56:13 -04:00
lto-codemodel.ll [lld/mac] Give several LTO tests an "lto-" prefix 2021-07-06 15:23:42 -04:00
lto-common-symbol-coalescing.ll [lld-macho] Support common symbols in bitcode (but differently from ld64) 2021-07-29 11:07:50 -04:00
lto-common-symbol-resolution.ll [lld-macho] Support common symbols in bitcode (but differently from ld64) 2021-07-29 11:07:50 -04:00
lto-cpu-string.ll [lld/mac] Give several LTO tests an "lto-" prefix 2021-07-06 15:23:42 -04:00
lto-internalize-unnamed-addr.ll [LTO] Initialize canAutoHide() using canBeOmittedFromSymbolTable() 2022-03-03 19:04:11 -05:00
lto-internalize.ll [lld-macho] Unset ExportDynamic where possible for LTO 2022-02-11 22:26:19 -05:00
lto-irmover-warning.ll [lld-macho][nfc] Rename %no_fatal_warnings_lld in tests 2022-02-11 10:06:38 -05:00
lto-linkonce.ll [lld/mac] Give several LTO tests an "lto-" prefix 2021-07-06 15:23:42 -04:00
lto-mattrs.ll [lld/mac] Give several LTO tests an "lto-" prefix 2021-07-06 15:23:42 -04:00
lto-module-asm-err.ll [lld] Add module name to LTO inline asm diagnostic 2022-01-28 11:32:42 -08:00
lto-module-asm.ll [lld/mac] Give several LTO tests an "lto-" prefix 2021-07-06 15:23:42 -04:00
lto-objc-arc-contract.ll [lld/mac] Give several LTO tests an "lto-" prefix 2021-07-06 15:23:42 -04:00
lto-object-path.ll [lld-macho] Have tests default to targeting macos 10.15 2021-04-23 09:25:08 -04:00
lto-opt-level.ll [lld/mac] Add test for --lto-O 2021-07-19 16:45:33 -04:00
lto-save-temps.ll [lld-macho] Have tests default to targeting macos 10.15 2021-04-23 09:25:08 -04:00
lto-symbol-resolution.ll [lld-macho][nfc] Add test for resolution of bitcode symbols 2021-07-23 11:49:00 -04:00
lto-weak-ref.ll [lld/mac] Don't lose "weak ref" bit when doing LTO 2021-12-17 15:26:35 -05:00
map-file.s [lld-macho][nfc] Use %X in mapfile test 2022-03-04 14:21:17 -05:00
mark-dead-strippable-dylib.s [lld-macho][nfc] Rename %no_fatal_warnings_lld in tests 2022-02-11 10:06:38 -05:00
mh-execute-header.s [lld-macho][nfc] Remove unnecessary -pie flags in tests 2021-11-04 00:02:03 -04:00
mh-header-link.s [lld-macho][nfc] Remove unnecessary -pie flags in tests 2021-11-04 00:02:03 -04:00
no-exports-dylib.s [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -07:00
no-unneeded-dyld-info.s [lld-macho] If export_size is zero, export_off must be zero 2021-10-27 14:58:42 -04:00
nonweak-definition-override.s [lld-macho][NFC] Purge stale test-output trees prior to split-file 2021-05-08 17:36:30 -07:00
obj-file-with-stabs.s [lld-macho][nfc] Rename test file to be more descriptive (rather than referencing the bug number) 2021-07-07 13:15:55 -04:00
objc-classrefs-dedup.s [lld-macho] Deduplicate the `__objc_classrefs` section contents 2022-03-08 08:34:04 -05:00
objc-uses-custom-personality.s [lld-macho] Add --start-lib --end-lib 2022-01-19 10:14:49 -08:00
objc.s [lld-macho] Add --start-lib --end-lib 2022-01-19 10:14:49 -08:00
order-file.s [lld/mac] Don't crash on absolute symbols in order files 2021-07-23 11:33:23 -04:00
pagezero.s [lld-macho][nfc] Rename %no_fatal_warnings_lld in tests 2022-02-11 10:06:38 -05:00
platform-version.s [lld-macho] Simulator & DriverKit executables should always be PIE 2020-12-23 11:24:12 -05:00
private-extern.s [lld-macho][NFC] Purge stale test-output trees prior to split-file 2021-05-08 17:36:30 -07:00
reexport-stub.s [lld-macho] Implement `-no_implicit_dylibs` 2020-12-10 15:57:52 -08:00
referenced-dynamically.s [lld/mac] Honor REFERENCED_DYAMICALLY, set it on __mh_execute_header 2021-05-17 14:22:12 -04:00
reloc-subtractor.s [lld-macho] Support subtractor relocations that reference sections 2021-04-20 16:58:57 -04:00
rename.s [lld][MachO] Fix typo in rename.s 2022-02-01 11:57:04 +00:00
reproduce-thin-archives.s [mac/lld] Make --reproduce work with thin archives 2020-12-02 09:48:31 -05:00
reproduce.s [lld-macho][nfc] Centralize usages of ld64.lld in tests 2022-02-10 17:27:07 -08:00
reroot-path.s [lld-macho][nfc] Centralize usages of ld64.lld in tests 2022-02-10 17:27:07 -08:00
responsefile.test [mac/lld] Add support for response files 2020-11-30 08:23:58 -05:00
rpath.s [lld/mac] Implement support for searching dylibs with @rpath/ in install name 2021-06-07 06:22:52 -04:00
search-paths-darwin.test [lld-macho][nfc] Centralize usages of ld64.lld in tests 2022-02-10 17:27:07 -08:00
search-paths.test [lld-macho] Enable search-paths tests on macOS 2021-11-03 12:01:36 -07:00
sectalign.s [lld/mac] Implement -sectalign 2021-05-11 13:31:32 -04:00
sectcreate.s [lld-macho] Add support for -add_empty_section 2022-01-30 10:03:41 -08:00
section-headers.s [lld-macho] Ensure segments are laid out contiguously 2021-04-20 16:58:57 -04:00
section-merge.s [lld-macho][nfc] Clean up tests 2020-12-21 14:44:08 -05:00
section-order.s [lld-macho][nfc] Sort OutputSections based on explicit order of command-line inputs 2021-05-25 14:58:29 -04:00
segments.s [lld-macho] Ensure segments are laid out contiguously 2021-04-20 16:58:57 -04:00
segprot.s [lld-macho] Implement -segprot 2021-03-29 14:08:12 -04:00
silent-ignore.s [lld-macho] Allow deduplicate-literals to be overridden 2022-01-18 15:42:59 -08:00
skip-platform-checks.s [lld-macho][nfc] Centralize usages of ld64.lld in tests 2022-02-10 17:27:07 -08:00
special-symbol-ld-hidden.s [lld-macho][nfc] Clean up trailing spaces and tabs 2022-02-15 21:33:26 -05:00
special-symbol-ld-install-name.s [lld-macho][nfc] Rename %no_fatal_warnings_lld in tests 2022-02-11 10:06:38 -05:00
special-symbol-ld-previous.s [lld-macho][nfc] Rename %no_fatal_warnings_lld in tests 2022-02-11 10:06:38 -05:00
stabs.s [lld-macho] Fix trailing slash in oso_prefix 2021-11-12 11:29:08 -08:00
start-end.s [lld][macho][NFC] Make MachO/start-end.s test less britle by checking for _main: 2022-01-25 19:23:51 -08:00
start-lib.s [lld-macho] Add --start-lib --end-lib 2022-01-19 10:14:49 -08:00
static-link.s [llvm-objdump] Print memory operand addresses as regular comments 2021-06-28 14:25:22 +07:00
sub-library.s [lld/mac] When loading reexports, look for basename in -F / -L first 2021-07-27 14:28:52 -04:00
subsections-symbol-relocs.s [lld-macho][nfc] Clean up tests 2020-12-21 14:44:08 -05:00
symbol-resolution.s [lld-macho][nfc] Rename some tests for consistency 2022-03-04 14:21:16 -05:00
symtab.s [lld/mac] Correctly set nextdefsym 2021-05-18 13:53:55 -04:00
syslibroot.test [lld-macho][nfc] Centralize usages of ld64.lld in tests 2022-02-10 17:27:07 -08:00
t.s [lld-macho][nfc] Clean up tests 2021-05-10 15:45:54 -04:00
tapi-framework.s [lld-macho][nfc] Rename some tests 2021-04-06 15:10:00 -04:00
tapi-link-by-arch.s [re-land][lld-macho] Fix min version check 2021-04-22 19:35:32 -04:00
tapi-link.s [lld-macho][nfc] Decouple tapi-link.s test from libSystem 2022-03-03 19:48:59 -05:00
thin-archive.s [lld-macho] Refactor archive loading 2021-08-26 18:52:07 -04:00
thinlto-jobs.ll [lld-macho] Support --thinlto-jobs 2021-04-08 12:21:01 -04:00
thinlto-time-trace.ll [lld-macho] Add time tracing for LTO 2021-03-26 18:14:10 -04:00
threads.s [lld-macho] Add support for --threads 2021-03-25 14:51:31 -04:00
time-trace.s [lld] Add test suite mode for running LLD main twice 2021-11-01 14:26:54 -07:00
tlv-dylib.s [lld/mac] Fix nondeterminism in output section ordering 2021-06-28 18:41:33 -04:00
tlv.s [lld-macho] Fix alignment of TLV data sections 2021-12-28 19:03:13 -05:00
treat-undef-sym.s [lld-macho][nfc] Clean up trailing spaces and tabs 2022-02-15 21:33:26 -05:00
u.s [lld-macho][test] Simplify --allow-empty with count 0 2021-05-28 15:15:59 -07:00
umbrella.s [lld-macho][nfc] Rename %no_fatal_warnings_lld in tests 2022-02-11 10:06:38 -05:00
unsorted-relocations.yaml [lld-macho][nfc] Add REQUIRES: x86 to test 2021-07-05 03:40:54 -04:00
uuid.s [lld-macho][test] Add test for UUID format 2022-01-31 23:52:42 -05:00
weak-binding.s [llvm-objdump] Print memory operand addresses as regular comments 2021-06-28 14:25:22 +07:00
weak-def-can-be-hidden.s [lld/mac] Implement support for .weak_def_can_be_hidden 2021-04-22 22:51:34 -04:00
weak-def-thumb-conflict.s [lld-macho] Parse & emit the N_ARM_THUMB_DEF symbol flag 2021-04-30 16:17:26 -04:00
weak-definition-direct-fetch.s [lld-macho] Add --start-lib --end-lib 2022-01-19 10:14:49 -08:00
weak-definition-gc.s [reland][lld-macho] Fix symbol relocs handling for compact unwind's functionAddress 2021-11-12 15:01:51 -05:00
weak-definition-in-main-file.s [lld/mac] Resolve defined symbols before undefined symbols 2021-07-19 16:37:41 -04:00
weak-definition-indirect-fetch.s [lld/mac] Remove unused -L%t flags from tests 2021-04-30 09:37:02 -04:00
weak-definition-order.s [lld/mac] Remove unused -L%t flags from tests 2021-04-30 09:37:02 -04:00
weak-definition-over-dysym.s [lld-macho][nfc] Clean up tests 2020-12-21 14:44:08 -05:00
weak-header-flags.s [lld-macho][NFC] Purge stale test-output trees prior to split-file 2021-05-08 17:36:30 -07:00
weak-import.s [lld-macho][nfc] Clean up trailing spaces and tabs 2022-02-15 21:33:26 -05:00
weak-private-extern.s [lld/mac] slightly improve weak-private-extern.s test 2021-04-22 22:42:48 -04:00
weak-reference.s [lld-macho][nfc] Convert tabs to spaces 2021-04-11 23:25:23 -04:00
why-live.s [lld-macho] Implement -why_live (without perf overhead) 2022-02-24 15:49:36 -05:00
why-load.s [lld-macho][nfc] Clean up tests 2021-05-10 15:45:54 -04:00
x86-64-reloc-got-load.s [llvm-objdump] Print memory operand addresses as regular comments 2021-06-28 14:25:22 +07:00
x86-64-reloc-signed.s [llvm-objdump] Print memory operand addresses as regular comments 2021-06-28 14:25:22 +07:00
x86-64-reloc-unsigned.s [lld-macho] Make everything PIE by default 2021-04-29 15:11:23 -04:00
x86-64-relocs.s [lld-macho] Implement cstring deduplication 2021-06-07 23:48:35 -04:00
x86-64-stubs.s [llvm-objdump][MachO] Print a newline before lazy bind/bind/weak/exports trie 2021-05-10 09:16:18 -07:00
zippered.yaml [yaml2obj][MachO] Rename PayloadString to Content 2021-07-26 09:04:51 -07:00