[lld] [LLD, MachO] Add `getUnwindInfoEncodingHash` to `BPSectionOrderer.cpp`. (PR #105587)
Ellis Hoag via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 14:39:16 PDT 2024
================
@@ -60,6 +61,25 @@ getRelocHash(const Reloc &reloc,
return getRelocHash(kind, sectionIdx.value_or(0), 0, reloc.addend);
}
+static uint64_t getUnwindInfoEncodingHash(const InputSection *isec) {
----------------
ellishg wrote:
Can you add a quick comment explaining why adding this unwind info hash can improve uncompressed size?
https://github.com/llvm/llvm-project/pull/105587
More information about the llvm-commits
mailing list