llvm-project/lld/test/MachO/invalid
Daniel Bertalan 5f627cc225 [lld-macho] Fix symbol name returned from InputSection::getLocation
This commit fixes the issue that getLocation always printed the name of
the first symbol in the section.

For clarity, upper_bound is used instead of a linear search for finding
the closest symbol name. Note that this change does not affect
performance: this function is only called when printing errors and
`symbols` typically contains a single symbol because of
.subsections_via_symbols.

Differential Revision: https://reviews.llvm.org/D127670
2022-06-13 15:49:27 -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
archive-no-index.s
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] Use fewer indirections in UnwindInfo implementation 2022-04-08 23:49:07 -04: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] Demangle symbol names in duplicate-symbol error when -demangle is specified 2022-06-06 15:12:26 -04:00
eh-frame.s [lld-macho][reland] Initial support for EH Frames 2022-06-13 07:45:16 -04:00
incompatible-arch.s [lld/mac] Warn that writing zippered outputs isn't implemented 2022-04-21 12:05:56 -04:00
incompatible-target-tapi.test [lld/mac] Warn that writing zippered outputs isn't implemented 2022-04-21 12:05:56 -04:00
invalid-executable.s
invalid-fat-narch.s
invalid-fat-offset.s
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] Fix crash on invalid framework tbd 2022-04-22 10:26:48 -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
no-filelist.s
no-id-dylink.yaml
no-libxar.ll [lld-macho] Initial groundwork for -bitcode_bundle 2021-04-16 16:47:14 -04:00
no-such-file.s
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] Fix symbol name returned from InputSection::getLocation 2022-06-13 15:49:27 -04: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