https://sourceware.org/bugzilla/show_bug.cgi?id=29529

--- Comment #1 from David Blaikie <dblaikie at gmail dot com> ---
So DWARFv5 added a zeroth entry to the line table (used to be the line table
started at 1).

GCC produces two entries even for a simple file - a zeroth and a first, both
with the same value, and GCC always use the first.

Clang produces one entry and uses that.

Looks like objdump is ignoring/marking the zeroth as "unknown" - if you add a
#line to the source so that Clang uses that as a first entry (after the zeroth
original entry) then objdump behaves fine.

So, yeah, missing zeroth entry in DWARFv5 (now that it has zeroth entries)
somewhere in objdump.

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

Reply via email to