GkvJwa wrote:
> I would also like to note that using `try{}catch(...){}` instead of
> `__try{}__except(1){}` is a basically semantically equivalent workaround for
> this issue.
On Windows, the latter is the SEH. The `1` can be replaced with actual
exceptions(GetExceptionCode() == ?), which the former cannot do. That's why we
need to specifically use SEH.
Also, if you have time, review it again. If there are no issues, I will add
test.
https://github.com/llvm/llvm-project/pull/172287
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits