[PATCH] D123276: [lld-macho] Use fewer indirections in UnwindInfo implementation

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 21:15:57 PDT 2022


int3 added inline comments.


================
Comment at: lld/test/MachO/compact-unwind.s:95
 .p2align 2
+.no_dead_strip _bar
 _bar:
----------------
it turns out that `_my_personality` below was keeping `_foo` and `_bar` alive as they were all part of the same section, and because I'd neglected to add `.subsections_via_symbols` to the test file. With `_my_personality` now in a different section, we need `.no_dead_strip` to keep these other functions alive.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123276/new/

https://reviews.llvm.org/D123276



More information about the llvm-commits mailing list