{
unwrap<CallInst>(func)->setCallingConv (CallingConv::PreserveAll);
}
-
-void
-mono_llvm_create_di_compile_unit (LLVMModuleRef module)
-{
- DIBuilder d(*unwrap(module));
-
- d.createCompileUnit (0, "X", "Y", "Z", false, "", 0, "", DIBuilder::DebugEmissionKind::FullDebug, true);
-}
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__ */
emit_dbg_info (&aot_module, filename, cu_name);
emit_aot_file_info (&aot_module);
- mono_llvm_create_di_compile_unit (aot_module.lmodule);
-
/*
* Replace GOT entries for directly callable methods with the methods themselves.
* It would be easier to implement this by predefining all methods before compiling