[llvm] [SEH] Ignore EH pad check for internal intrinsics (PR #79694)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 3 04:32:32 PST 2024


phoebewang wrote:

> My question is, if we mark calls to `@llvm.seh.try` with funclet bundles in the frontend, would that also fix the issue? If it does, that seems like a better solution. If not, we can do this instead.

Sorry, I'm not familiar with frontend code. And thanks for the explanation! I got the point now. It looks to me we tried to bundle them but failed: https://github.com/llvm/llvm-project/blob/main/clang/lib/CodeGen/CGCleanup.cpp#L1346-L1349

The `EmitSehCppScopeEnd` is called in several places. I'm guessing one of them at least not bundled successfully for some reason, I had to admit I cannot root casue it myself :(

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


More information about the llvm-commits mailing list