From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43577 invoked by alias); 23 Jan 2020 17:34:34 -0000 Mailing-List: contact dwz-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: dwz-owner@sourceware.org Received: (qmail 43531 invoked by uid 48); 23 Jan 2020 17:34:30 -0000 From: "vries at gcc dot gnu.org" To: dwz@sourceware.org Subject: [Bug default/25450] Compress member function template DIEs Date: Wed, 01 Jan 2020 00:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-q1/txt/msg00043.txt https://sourceware.org/bugzilla/show_bug.cgi?id=3D25450 --- Comment #1 from Tom de Vries --- (In reply to Tom de Vries from comment #0) > Despite the fact that the two DIEs are generated from the same header fil= e, > they are structurally different, due to the different instantiations of t= he > member function template. Consequently, dwz does not factor out the DIEs. One way to address this is to generate the union of the DIEs into a partial unit. [ This does create the problem of having references from that unio= n to DIEs that are unique to a certain CU, and consequently don't have a duplica= te chain. ] Another way is to factor out the common part of the DIEs into a partial uni= t, and include it from the original DIEs using DW_AT_specification. --=20 You are receiving this mail because: You are on the CC list for the bug.