bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27386] [readelf] DW_UT_split_compile and DW_UT_skeleton su


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/27386] [readelf] DW_UT_split_compile and DW_UT_skeleton support
Date: Tue, 09 Feb 2021 13:27:33 +0000

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9b87f84a3513c852eca395e3aa47081ef2f12e60

commit 9b87f84a3513c852eca395e3aa47081ef2f12e60
Author: Tom de Vries <tdevries@suse.de>
Date:   Tue Feb 9 14:27:28 2021 +0100

    [binutils] Handle DW_UT_skeleton/split_compile in process_debug_info

    With this exec:
    ...
    $ gcc -gsplit-dwarf hello.c -gdwarf-5
    ...
    we run into:
    ...
    $ 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.
    ...

    Fix this by handling DW_UT_skeleton and DW_UT_split_compile in
    process_debug_info.

    Note that this just adds the parsing of DWO_id, but not yet any printing of
    it.

    Tested on x86_64-linux.

    binutils/ChangeLog:

    2021-02-09  Tom de Vries  <tdevries@suse.de>

            PR binutils/27386
            * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
            DW_UT_split_compile.

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