Skip to content

Commit 0844245

Browse files
authored
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.
1 parent 17e3bf2 commit 0844245

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/iwasm/compilation/debug/dwarf_extractor.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ dwarf_gen_mock_vm_info(AOTCompContext *comp_ctx)
152152

153153
comp_unit = LLVMDIBuilderCreateCompileUnit(
154154
comp_ctx->debug_builder, LLVMDWARFSourceLanguageC, file_info,
155-
"ant compiler", 12, 0, NULL, 0, 1, NULL, 0, LLVMDWARFEmissionFull, 0, 0,
155+
"WAMR AoT compiler", 12, 0, NULL, 0, 1, NULL, 0, LLVMDWARFEmissionFull, 0, 0,
156156
0, "/", 1, "", 0);
157157

158158
LLVMTypeRef ParamTys[] = {
@@ -208,8 +208,8 @@ dwarf_gen_comp_unit_info(const AOTCompContext *comp_ctx)
208208

209209
comp_unit = LLVMDIBuilderCreateCompileUnit(
210210
comp_ctx->debug_builder, LLDB_TO_LLVM_LANG_TYPE(lang_type),
211-
comp_ctx->debug_file, "ant compiler", 12, 0, NULL, 0, 1, NULL, 0,
212-
LLVMDWARFEmissionFull, 0, 0, 0, "/", 1, "", 0);
211+
comp_ctx->debug_file, "WAMR AoT compiler", 12, 0, NULL, 0, 1, NULL,
212+
0, LLVMDWARFEmissionFull, 0, 0, 0, "/", 1, "", 0);
213213
}
214214
return comp_unit;
215215
}

0 commit comments

Comments
 (0)