llvm-project/lld/test/MachO/invalid
Jez Ng a552fb2a86 [lld-macho] Have relocation address included in range-check error message
This makes it easier to debug those errors. See e.g. https://github.com/llvm/llvm-project/issues/52767#issuecomment-1028713943

We take the approach of 'reverse-engineering' the InputSection from the
output buffer offset. This provides for a cleaner Target API, and is
similar to LLD-ELF's implementation of getErrorPlace().

Reviewed By: #lld-macho, Roger

Differential Revision: https://reviews.llvm.org/D118903
2022-02-28 21:56:38 -05:00
..
Inputs [lld-macho] Filter TAPI re-exports by target 2021-03-04 14:36:47 -05:00
abs-duplicate.s [lld-macho][NFC] Purge stale test-output trees prior to split-file 2021-05-08 17:36:30 -07:00
alignment-too-large.yaml [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -07:00
archive-no-index.s [lld-macho][nfc] Clean up tests 2020-12-21 14:44:08 -05:00
arm64-thunk-undefined.s [lld/mac] Don't assert during thunk insertion if there are undefined symbols 2021-09-03 12:22:41 -04:00
bad-archive-member.s [lld-macho] Refactor archive loading 2021-08-26 18:52:07 -04:00
bad-archive.s [lld] Add test suite mode for running LLD main twice 2021-11-01 14:26:54 -07:00
bad-got-to-dylib-tlv-reference.s [lld-macho] Include address offsets in error messages 2022-02-07 21:06:18 -05:00
bad-got-to-tlv-reference.s [lld-macho] Include address offsets in error messages 2022-02-07 21:06:18 -05:00
bad-tlv-def.s [lld-macho][nfc] Convert tabs to spaces 2021-04-11 23:25:23 -04:00
bad-tlv-opcode.s [lld-macho][nfc] Convert tabs to spaces 2021-04-11 23:25:23 -04:00
bad-tlv-relocation.s [lld-macho] Include address offsets in error messages 2022-02-07 21:06:18 -05:00
cfstring.s [lld-macho] Associate compact unwind entries with function symbols 2021-10-26 16:04:15 -04:00
compact-unwind-bad-reloc.s [lld-macho] Include address offsets in error messages 2022-02-07 21:06:18 -05:00
compact-unwind-personalities.s [lld-macho][nfc] Remove unnecessary -pie flags in tests 2021-11-04 00:02:03 -04:00
cstring-dedup.s [lld-macho] Include address offsets in error messages 2022-02-07 21:06:18 -05:00
dso-handle-duplicate.s [lld-macho][nfc] Give every SyntheticSection a fake InputSection 2021-03-12 17:26:27 -05:00
duplicate-symbol.ll [lld-macho] Basic support for linkage and visibility attributes in LTO 2021-02-25 13:27:40 -05:00
duplicate-symbol.s [lld-macho] Associate each Symbol with an InputFile 2021-02-03 13:43:47 -05:00
incompatible-arch.s [lld-macho][nfc] Rename %no_fatal_warnings_lld in tests 2022-02-11 10:06:38 -05:00
incompatible-target-tapi.test [lld-macho] Include install name in error messages for dylibs from TBDs 2021-03-04 14:36:49 -05:00
invalid-executable.s [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -07:00
invalid-fat-narch.s [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -07:00
invalid-fat-offset.s [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -07:00
invalid-relocation-length.yaml [lld-macho] Have tests default to targeting macos 10.15 2021-04-23 09:25:08 -04:00
invalid-relocation-pcrel.yaml [lld-macho] Have tests default to targeting macos 10.15 2021-04-23 09:25:08 -04:00
invalid-stub.s [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -07:00
lto-bitcode-nodatalayout.ll [lld] Add test suite mode for running LLD main twice 2021-11-01 14:26:54 -07:00
missing-dylib.s [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -07:00
no-filelist.s [test] Use host platform specific error message substitution in lit tests 2021-01-29 07:16:30 -05:00
no-id-dylink.yaml [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -07:00
no-libxar.ll [lld-macho] Initial groundwork for -bitcode_bundle 2021-04-16 16:47:14 -04:00
no-such-file.s [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -07:00
protected.ll [lld-macho] Basic support for linkage and visibility attributes in LTO 2021-02-25 13:27:40 -05:00
range-check.s [lld-macho] Have relocation address included in range-check error message 2022-02-28 21:56:38 -05:00
reserved-section-name.s [lld] Add test suite mode for running LLD main twice 2021-11-01 14:26:54 -07:00
stub-link.s [lld-macho][nfc] Centralize usages of ld64.lld in tests 2022-02-10 17:27:07 -08:00
undefined-symbol.s [lld/mac] Crash even less on undefined symbols with --icf=all 2021-11-19 09:23:19 -05:00