llvm-project/lld/test/MachO/invalid
Jez Ng 525bfa10ec [lld-macho] Emit personalities in compact unwind
Note that there is a triple indirection involved with
personalities and compact unwind:

1. Two bits of each CU encoding are used as an offset into the
   personality array.
2. Each entry of the personality array is an offset from the image base.
   The resulting address (after adding the image base) should point within the
   GOT.
3. The corresponding GOT entry contains the actual pointer to the
   personality function.

To further complicate things, when the personality function is in the
object file (as opposed to a dylib), its references in
`__compact_unwind` may refer to it via a section + offset relocation
instead of a symbol relocation. Since our GOT implementation can only
create entries for symbols, we have to create a synthetic symbol at the
given section offset.

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D95809
2021-02-08 13:47:59 -05:00
..
abs-duplicate.s [lld-macho] Associate each Symbol with an InputFile 2021-02-03 13:43:47 -05: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
bad-archive-member.s [lld-macho] Force-loading should share code path with regular archive loads 2021-02-03 13:43:47 -05: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] refactor relocation handling 2021-02-02 10:54:53 -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] refactor relocation handling 2021-02-02 10:54:53 -07:00
bad-tlv-opcode.s [lld-macho][NFC] refactor relocation handling 2021-02-02 10:54:53 -07:00
bad-tlv-relocation.s [lld-macho][NFC] refactor relocation handling 2021-02-02 10:54:53 -07:00
compact-unwind-bad-reloc.s [lld-macho] Emit personalities in compact unwind 2021-02-08 13:47:59 -05:00
compact-unwind-personalities.s [lld-macho] Emit personalities in compact unwind 2021-02-08 13:47:59 -05:00
dso-handle-duplicate.s [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -07:00
duplicate-symbol.s [lld-macho] Associate each Symbol with an InputFile 2021-02-03 13:43:47 -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][NFC] refactor relocation handling 2021-02-02 10:54:53 -07:00
invalid-relocation-pcrel.yaml [lld-macho][NFC] refactor relocation handling 2021-02-02 10:54:53 -07:00
invalid-stub.s [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -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-such-file.s [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -07:00
reserved-section-name.s [lld-macho] Always include custom syslibroot when running tests 2020-09-25 11:28:36 -07:00
stub-link.s [lld-macho] Implement option: -undefined TREATMENT 2020-12-17 17:40:50 -08:00
undefined-symbol.s [lld-macho] Implement option: -undefined TREATMENT 2020-12-17 17:40:50 -08:00