[clang] [llvm] Fix Windows EH IP2State tables (remove +1 bias) (PR #144745)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 11 12:07:58 PDT 2025


namazso wrote:

Not sure how relevant this is, but EDK2 by default will strip all exception data: https://github.com/tianocore/edk2/blob/a1b509c1a453815acbc6c8b0fc5882fd03a6f2c0/BaseTools/Source/C/GenFw/GenFw.c#L2447

Although there is an option to GenFw to keep them. Performance impact of the nops is negligible, so maybe it's a better choice to just keep those. After all, MSVC also generates and keeps them (since it's entirely unaware of UEFI), and it's just GenFw removing the directory and section.

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


More information about the llvm-commits mailing list