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 <vr...@sourceware.org>:

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

commit 9b87f84a3513c852eca395e3aa47081ef2f12e60
Author: Tom de Vries <tdevr...@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  <tdevr...@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