[lld] [lld-macho] Remove cuIndices indirection in UnwindInfoSection. NFC (PR #170252)

Jez Ng via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 23:27:11 PST 2025


================
@@ -467,27 +464,24 @@ void UnwindInfoSectionImpl::finalize() {
   symbolsVec = symbols.takeVector();
   relocateCompactUnwind(cuEntries);
 
-  // Rather than sort & fold the 32-byte entries directly, we create a
-  // vector of indices to entries and sort & fold that instead.
----------------
int3 wrote:

well, this was the motivation for using indices... I guess you think this micro-optimization isn't worth the complexity?

https://github.com/llvm/llvm-project/pull/170252


More information about the llvm-commits mailing list