[llvm] [BOLT] Update LSDA encoding for x86-64 large code model (PR #190685)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 16:31:25 PDT 2026


================
@@ -318,6 +315,8 @@ Expected<std::unique_ptr<BinaryContext>> BinaryContext::createBinaryContext(
   BC->SymbolicDisAsm = std::unique_ptr<MCDisassembler>(
       BC->TheTarget->createMCDisassembler(*BC->STI, *BC->Ctx));
 
+  BC->updateLSDAEncodingForLargeCodeModel();
----------------
maksfb wrote:

IMHO we should call this function just once when the code model is finalized.

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


More information about the llvm-commits mailing list