bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/28149] debug info with wrong file association


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/28149] debug info with wrong file association
Date: Mon, 20 Sep 2021 02:55:58 +0000

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

--- Comment #10 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <amodra@sourceware.org>:

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

commit 5b4846283c3d49138a58a3bb4d61ed3e2dfffff4
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Sep 20 11:30:41 2021 +0930

    Re: PR28149, debug info with wrong file association

    Fixes segfaults when building aarch64-linux kernel, due to only doing
    part of the work necessary when allocating file numbers late.  I'd
    missed looping over subsegments, which resulted in some u.filename
    entries left around and later interpreted as u.view.

            PR 28149
            * dwarf2dbg.c (purge_generated_debug): Iterate over subsegs too.
            (dwarf2_finish): Call do_allocate_filenum for all subsegs too,
            in a separate loop before subsegs are chained.

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