[llvm] [orc-rt] Add Error / Exception interop. (PR #172247)

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 14 20:23:02 PST 2025


================
@@ -9,30 +9,79 @@
 #ifndef ORC_RT_ERROR_H
 #define ORC_RT_ERROR_H
 
+#include "orc-rt-c/config.h"
 #include "orc-rt/CallableTraitsHelper.h"
 #include "orc-rt/Compiler.h"
 #include "orc-rt/RTTI.h"
 
 #include <cassert>
 #include <cstdlib>
+#include <exception>
----------------
lhames wrote:

I believe we can include the header regardless, but it would speed up compilation to guard it -- I'll add them in.

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


More information about the llvm-commits mailing list