[PATCH] D80344: [Windows SEH]: HARDWARE EXCEPTION HANDLING (MSVC -EHa) - Part 1
David Majnemer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 3 18:45:37 PDT 2020
majnemer added inline comments.
================
Comment at: clang/include/clang/AST/Stmt.h:1783
+
+ bool IsSideEntry() const { return SideEntry; }
+ void setSideEntry() { SideEntry = true; }
----------------
I think this should be isSideEntry to be consistent.
================
Comment at: clang/lib/CodeGen/CGException.cpp:603-609
+ // For IsEHa catch(...) must handle HW exception
+ // Adjective = HT_IsStdDotDot (0x40), only catch C++ exceptions
+ // Also mark scope with SehTryBegin
+ if (getLangOpts().EHAsynch) {
+ TypeInfo.Flags = 0;
+ EmitRuntimeCallOrInvoke(getSehTryBeginFn(CGM));
+ }
----------------
I think this logic should move into MicrosoftCXXABI::getCatchAllTypeInfo.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80344/new/
https://reviews.llvm.org/D80344
More information about the llvm-commits
mailing list