Merge pull request #2603 from kumpera/fix_set_pending_exception
[mono.git] / mono / mini / mini-llvm-cpp.h
index a60dcecaae21b4dc86a7ce11f79a1d5b81ee9221..9e551e2557d8ace03612505abb36b9c4f2c2310f 100644 (file)
@@ -15,6 +15,8 @@
 #include "llvm-c/Core.h"
 #include "llvm-c/ExecutionEngine.h"
 
+#include <unwind.h>
+
 G_BEGIN_DECLS
 
 /*
@@ -90,6 +92,28 @@ mono_llvm_set_must_tail (LLVMValueRef call_ins);
 LLVMValueRef
 mono_llvm_create_constant_data_array (const uint8_t *data, int len);
 
+void
+mono_llvm_set_is_constant (LLVMValueRef global_var);
+
+void
+mono_llvm_set_preserveall_cc (LLVMValueRef func);
+
+void
+mono_llvm_set_call_preserveall_cc (LLVMValueRef call);
+
+_Unwind_Reason_Code 
+mono_debug_personality (int a, _Unwind_Action b,
+       uint64_t c, struct _Unwind_Exception *d, struct _Unwind_Context *e);
+
+void
+mono_llvm_set_unhandled_exception_handler (void);
+
+void
+default_mono_llvm_unhandled_exception (void);
+
+void
+mono_llvm_create_di_compile_unit (LLVMModuleRef module);
+
 G_END_DECLS
 
 #endif /* __MONO_MINI_LLVM_CPP_H__ */