[PATCH] D144999: [RFC][MC][MachO]Only emits compact-unwind format for "canonical" personality symbols. For the rest, use DWARFs.

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 13:32:14 PST 2023


int3 added a comment.

> For __gxx_personality_v0 and __objc_personality_v0 (but not __gcc_personality_v0), emit only compact unwind (or only DWARF where compact-unwind isn't possible) for each function -- not both. (This saves object-file size/build time for the most common languages).

Does Swift use a personality function? I'm concerned that we may be de-optimizing a very common use case. However (from looking a small test program) it seems that maybe it doesn't...


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