[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/26740] Extra filename generated by --gdwarf-4

From: mark at klomp dot org
Subject: [Bug gas/26740] Extra filename generated by --gdwarf-4
Date: Thu, 15 Oct 2020 22:35:16 +0000


--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
The issue is that some instructions are emitted (dwarf2_emit_insn is called)
before the first .file <NUMBER> directive has been seen. This allocates x.s
(the input file) as first file entry. Later when the actual .file 1 lbasename.c
and .file 2 safe-ctype are seen the x.s entry is moved to entry 3. We don't
record that we never actually use that entry and so we still emit it.

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]