This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Dwarf views broken on ia64?
Hi Alex, Hi Jan,
Would one of you mind opening a PR for this issue ?
I think that Alex's patch will work, even for bundles,
as the DWARF2 line debug information is consumed on a
per-instruction basis, not a per-bundle basis. (See
gas/config/tc-ia64.c:md_assemble() where dwarf2_consume_line()
is called for every instruction but emit_one_bundle() is
only called once enough instructions have been accumulated).
So even if gcc tries to reset the view between two instructions
that are going into the same bundle, the view tracking code in
dwarf2dbg.c should be able to cope.
Cheers
Nick