[clang] Objective C: use C++ exceptions on MinGW+GNUstep (PR #77255)

Frederik Carlier via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 7 13:32:00 PST 2024


================
@@ -156,7 +154,11 @@ static const EHPersonality &getObjCPersonality(const TargetInfo &Target,
   case ObjCRuntime::WatchOS:
     return EHPersonality::NeXT_ObjC;
   case ObjCRuntime::GNUstep:
-    if (L.ObjCRuntime.getVersion() >= VersionTuple(1, 7))
+    if (T.isOSCygMing())
----------------
qmfrederik wrote:

OK - this broke some tests, so I'll revert that.

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


More information about the cfe-commits mailing list