mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-08 20:56:13 +00:00
aot debug: Update DW_AT_producer (#3001)
Currently we are using "ant compiler", which is a bit historical. This commit changes it to use "WAMR AoT compiler" instead.
This commit is contained in:
parent
17e3bf255c
commit
08442458b1
|
@ -152,7 +152,7 @@ dwarf_gen_mock_vm_info(AOTCompContext *comp_ctx)
|
||||||
|
|
||||||
comp_unit = LLVMDIBuilderCreateCompileUnit(
|
comp_unit = LLVMDIBuilderCreateCompileUnit(
|
||||||
comp_ctx->debug_builder, LLVMDWARFSourceLanguageC, file_info,
|
comp_ctx->debug_builder, LLVMDWARFSourceLanguageC, file_info,
|
||||||
"ant compiler", 12, 0, NULL, 0, 1, NULL, 0, LLVMDWARFEmissionFull, 0, 0,
|
"WAMR AoT compiler", 12, 0, NULL, 0, 1, NULL, 0, LLVMDWARFEmissionFull, 0, 0,
|
||||||
0, "/", 1, "", 0);
|
0, "/", 1, "", 0);
|
||||||
|
|
||||||
LLVMTypeRef ParamTys[] = {
|
LLVMTypeRef ParamTys[] = {
|
||||||
|
@ -208,8 +208,8 @@ dwarf_gen_comp_unit_info(const AOTCompContext *comp_ctx)
|
||||||
|
|
||||||
comp_unit = LLVMDIBuilderCreateCompileUnit(
|
comp_unit = LLVMDIBuilderCreateCompileUnit(
|
||||||
comp_ctx->debug_builder, LLDB_TO_LLVM_LANG_TYPE(lang_type),
|
comp_ctx->debug_builder, LLDB_TO_LLVM_LANG_TYPE(lang_type),
|
||||||
comp_ctx->debug_file, "ant compiler", 12, 0, NULL, 0, 1, NULL, 0,
|
comp_ctx->debug_file, "WAMR AoT compiler", 12, 0, NULL, 0, 1, NULL,
|
||||||
LLVMDWARFEmissionFull, 0, 0, 0, "/", 1, "", 0);
|
0, LLVMDWARFEmissionFull, 0, 0, 0, "/", 1, "", 0);
|
||||||
}
|
}
|
||||||
return comp_unit;
|
return comp_unit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user