mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-24 03:40:09 +08:00
tccdbg.c: DW_AT_language now matches the -std option
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
This commit is contained in:
parent
3d963aebcd
commit
12acbf3e92
2
tccdbg.c
2
tccdbg.c
@ -802,7 +802,7 @@ ST_FUNC void tcc_debug_start(TCCState *s1)
|
||||
|
||||
dwarf_data1(dwarf_info_section, DWARF_ABBREV_COMPILE_UNIT);
|
||||
dwarf_strp(dwarf_info_section, "tcc " TCC_VERSION);
|
||||
dwarf_data1(dwarf_info_section, DW_LANG_C11);
|
||||
dwarf_data1(dwarf_info_section, s1->cversion == 201112 ? DW_LANG_C11 : DW_LANG_C99);
|
||||
dwarf_line_strp(dwarf_info_section, filename);
|
||||
dwarf_line_strp(dwarf_info_section, buf);
|
||||
dwarf_reloc(dwarf_info_section, section_sym, R_DATA_PTR);
|
||||
|
Loading…
Reference in New Issue
Block a user