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

--- Comment #4 from Vladimir Mezentsev <vladimir.mezentsev at oracle dot com> 
---
>From DWARF standard:

7.5 Format of Debugging Information
For each compilation unit compiled with a DWARF producer, a contribution is
made to the
.debug_info section of the object file. Each such contribution consists of a
compilation unit
header (see Section 7.5.1.1) followed by a single DW_TAG_compile_unit or
DW_TAG_partial_unit debugging information entry, together with its children.


In the attached program (synprog), I see that there is no compilation unit
header in the .debug_info section:

% objdump -s synprog
...
Contents of section .debug_info:
 0000 01000000 00000000 bd740000 00000000  .........t......
 0010 01000000 00000000 789ced7d 7b9c5c45  ........x..}{.\E
 0020 b17fd539 3367ce99 39f3dad9 9d9d7d64  ...93g..9.....}d


Is this a compiler bug ?

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

Reply via email to