Leonard Grey 8bea91f677
[lld-macho] Support archives without index (#132942)
This is a ~port of https://reviews.llvm.org/D117284. Like in that
change, archives without indices are treated as a collection of lazy
object files (as in `--start-lib/--end-lib`)

Porting the ELF follow-up to convert *all* archives to the lazy object
code path (https://reviews.llvm.org/D119074) is a natural next step, but
we would need to ensure the assertions about memory use hold for Mach-O.

NB: without an index, we can't do the part of the `-ObjC` scan where we
check for Objective-C symbols directly. We *can* still check for
`__obcj` sections so I wonder how much of a problem this actually is,
since I'm not sure how the "symbols but no sections" case can appear in
the wild.
2025-04-10 14:33:56 -04:00
..
2022-01-19 13:12:18 -08:00
2022-09-20 10:16:45 -04:00
2024-01-23 09:08:43 -05:00
2022-07-26 01:41:51 +02:00
2023-02-15 17:34:35 +00:00
2022-02-01 11:57:04 +00:00
2021-05-11 13:31:32 -04:00
t.s
2021-05-10 15:45:54 -04:00
2023-07-19 16:39:31 -07:00
2021-05-10 15:45:54 -04:00