mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-15 05:20:06 +08:00
Fix add debug support to macos
This commit is contained in:
parent
702b802316
commit
60d52f0d68
1
tccdbg.c
1
tccdbg.c
@ -819,6 +819,7 @@ ST_FUNC void tcc_debug_start(TCCState *s1)
|
||||
dwarf_line.filename_table[0].name = tcc_strdup(undo + 1);
|
||||
dwarf_line.filename_table[1].dir_entry = 1;
|
||||
dwarf_line.filename_table[1].name = tcc_strdup(undo + 1);
|
||||
*undo = '/';
|
||||
}
|
||||
else {
|
||||
dwarf_line.filename_table[0].name = tcc_strdup(filename);
|
||||
|
Loading…
Reference in New Issue
Block a user