llvm-project/lld/test/MachO/invalid
Nico Weber c15b588852 [lld/mac] Don't assert during thunk insertion if there are undefined symbols
We end up calling resolveBranchVA(), which asserts for Undefineds.

As fix, just return early in Writer::run() if there are any diagnostics
after processing relocations (which is where undefined symbol errors are
emitted). This matches what the ELF port does.

Differential Revision: https://reviews.llvm.org/D109079
2021-09-03 12:22:41 -04: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-macho] Force-loading should share code path with regular archive loads 2021-02-03 13:43:47 -05:00
bad-got-to-dylib-tlv-reference.s [lld-macho][NFC] Purge stale test-output trees prior to split-file 2021-05-08 17:36:30 -07:00
bad-got-to-tlv-reference.s [lld-macho][NFC] refactor relocation handling 2021-02-02 10:54:53 -07: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][NFC] refactor relocation handling 2021-02-02 10:54:53 -07:00
cfstring.s [lld-macho] Deduplicate CFStrings 2021-07-01 21:22:38 -04:00
compact-unwind-bad-reloc.s [lld-macho] Have tests default to targeting macos 10.15 2021-04-23 09:25:08 -04:00
compact-unwind-personalities.s [lld-macho] Have tests default to targeting macos 10.15 2021-04-23 09:25:08 -04:00
cstring-dedup.s [lld-macho] Implement cstring deduplication 2021-06-07 23:48:35 -04: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] Downgrade version mismatch to warning 2021-06-16 11:06:26 -04: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/mac] Give several LTO tests an "lto-" prefix 2021-07-06 15:23:42 -04: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][NFC] Purge stale test-output trees prior to split-file 2021-05-08 17:36:30 -07:00
reserved-section-name.s [lld-macho] Implement cstring deduplication 2021-06-07 23:48:35 -04:00
stub-link.s [lld-macho] Fix test breakage introduced by D97799 2021-03-03 17:32:12 -05:00
undefined-symbol.s [lld-macho][nfc] Clean up tests 2021-05-10 15:45:54 -04:00