[PATCH] D107533: [lld-macho] Allow encode up to 4 personality symbols.

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 5 06:25:23 PDT 2021


thakis added inline comments.


================
Comment at: lld/MachO/UnwindInfoSection.cpp:285
 // There should only be a handful of unique personality pointers, so we can
 // encode them as 2-bit indices into a small array.
 template <class Ptr>
----------------
Due to this comment, I think you'll have to change some encoding code in addition to bumping the number too. Two bits aren't enough for 4 personalities.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107533



More information about the llvm-commits mailing list