Re: [PATCH] Emit .file 0 marker earlier in DWARF 5

2021-06-23 Thread Jeff Law via Gcc-patches
On 6/23/2021 4:06 AM, Eric Botcazou wrote: Hi, when the assembler supports it, the compiler automatically passes --gdwarf-5 to it, which has an interesting side effect: any assembly instruction prior to the first .file directive defines a new line associated with .file 0 in the .debug_line se

[PATCH] Emit .file 0 marker earlier in DWARF 5

2021-06-23 Thread Eric Botcazou
Hi, when the assembler supports it, the compiler automatically passes --gdwarf-5 to it, which has an interesting side effect: any assembly instruction prior to the first .file directive defines a new line associated with .file 0 in the .debug_line section and, of course, the numbering of these imp