bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27231] objdump -S doesn't work on DWARF5 generated by GCC


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/27231] objdump -S doesn't work on DWARF5 generated by GCC 11
Date: Sun, 24 Jan 2021 15:03:41 +0000

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

--- Comment #11 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit 940d0202fd472b09d370fb483bf5a8ae99c9c830
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Jan 24 07:00:34 2021 -0800

    DWARF-5: Ignore empty range in DWARF-5 line number tables

    The DWARF5 spec does indeed explicitly say: "A bounded range entry whose
    beginning and ending address offsets are equal (including zero) indicates
    an empty range and may be ignored."

    Since arange_add already ignores empty ranges, remove the whole check
    which is equivalent to the check plus explicit continue.

            PR binutils/27231
            * dwarf2.c (read_rnglists): Ignore empty range when parsing line
            number tables.

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