Skip to content

Commit 4806e4e

Browse files
authored
1 parent a23fa9f commit 4806e4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/iwasm/compilation/aot_llvm.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2547,6 +2547,9 @@ aot_create_comp_context(const AOTCompData *comp_data, aot_comp_option_t option)
25472547
aot_set_last_error("create LLVM module failed.");
25482548
goto fail;
25492549
}
2550+
#if LLVM_VERSION_MAJOR >= 19
2551+
LLVMSetIsNewDbgInfoFormat(comp_ctx->module, true);
2552+
#endif
25502553

25512554
#if WASM_ENABLE_LINUX_PERF != 0
25522555
if (wasm_runtime_get_linux_perf()) {

0 commit comments

Comments
 (0)