[flang-commits] [flang] [llvm] RuntimeLibcalls: Read exception model from the module flag (PR #223971)

Matt Arsenault via flang-commits flang-commits at lists.llvm.org
Wed Sep 16 23:07:36 PDT 2026


================
@@ -727,6 +727,26 @@ void codegen::setFunctionAttributes(Module &M, StringRef CPU,
     }
   }
 
+  // Synthesize the "exception-model" module flag from the -exception-model
+  // option.
+  ExceptionHandling EH = getExceptionModel();
----------------
arsenm wrote:

It depends on how many lit tests rely on it. It can stay as a test utility if there are a lot 

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


More information about the flang-commits mailing list