[PATCH] D144999: [RFC][MC][MachO]Only emits compact-unwind format for "canonical" personality symbols. For the rest, use DWARFs.
Vy Nguyen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 3 07:12:42 PST 2023
oontvoo added a comment.
In D144999#4165643 <https://reviews.llvm.org/D144999#4165643>, @int3 wrote:
> I'm also curious about the motivation here; this wouldn't be the most trivial linker change, especially if we are trying not to regress perf. Moreover, ld64 doesn't do this; I'm not even sure it has any flags that let it support more than 3 personalities. Is it just a linker UX thing?
The motivation is to support programs that use more than 3 personalities (which, unfortunately, is not very rare in our case - and apparently not very rare in the open, either - see the Rust bug attached in the description).
It's true that LD64 doesn't allow it - but that seems like an artificial limitation - there's no real reason we cannot make it work.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144999/new/
https://reviews.llvm.org/D144999
More information about the llvm-commits
mailing list