bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27386] New: [readelf] DW_UT_split_compile and DW_UT_skelet


From: vries at gcc dot gnu.org
Subject: [Bug binutils/27386] New: [readelf] DW_UT_split_compile and DW_UT_skeleton support
Date: Tue, 09 Feb 2021 09:13:01 +0000

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

            Bug ID: 27386
           Summary: [readelf] DW_UT_split_compile and DW_UT_skeleton
                    support
           Product: binutils
           Version: 2.37 (HEAD)
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

...
$ gcc -gsplit-dwarf hello.c -gdwarf-5
$ readelf -w a.out > READELF
readelf: Warning: CU at offset c7 contains corrupt or unsupported unit type: 4.
readelf: Warning: CU at offset c7 contains corrupt or unsupported unit type: 4.
...

With llvm-dwarfdump we have:
...
0x000000c7: Compile Unit: length = 0x00000031 version = 0x0005 unit_type =
DW_UT_skeleton abbr_offset = 0x0064 addr_size = 0x08 DWO_id =
0x49b83479d16a6502 (next unit at 0x000000fc)

0x000000db: DW_TAG_skeleton_unit
              DW_AT_low_pc      (0x0000000000400507)
              DW_AT_high_pc     (0x000000000040051c)
              DW_AT_stmt_list   (0x000000e9)
              DW_AT_dwo_name    ("hello.dwo")
              DW_AT_comp_dir    ("/home/vries")
              DW_AT_GNU_pubnames        (true)
              DW_AT_GNU_addr_base       (0x00000000)
...

-- 
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]