Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lgtm, thanks for pushing the migration.
llvm/lib/Target/X86/X86WinEHState.cpp | ||
---|---|---|
492 | There is a crash with callbar here waiting to happen. Seems easy enough to trigger: use asm goto + EH on i686-windows-msvc. I have a TODO to audit CodeGen for cast<InvokeInst>, since I saw another one of these, so I guess let's do nothing for now. |
llvm/lib/Target/X86/X86WinEHState.cpp | ||
---|---|---|
492 | Aren't we only handling calls/invokes that have SetJmp3 as their callee? We shouldn't have a CallBr with that as a callee right? |
llvm/lib/Target/X86/X86WinEHState.cpp | ||
---|---|---|
492 | That's true, I suppose there is no issue. I have the vague notion that one day we could use callbr for Windows exception handling instead of invoke + catchswitch. Catchswitch is effectively an unwind edge multiplexer, but if potentially throwing ops could have multiple unwind edges, we'd be good. |
clang-format not found in user's PATH; not linting file.