From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D309D384B060; Fri, 12 Mar 2021 17:13:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D309D384B060 From: "jan.kratochvil at redhat dot com" To: dwz@sourceware.org Subject: [Bug default/27572] New: Multifile drops DW_TAG_namespace::DW_AT_export_symbols Date: Fri, 12 Mar 2021 17:13:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: jan.kratochvil at redhat dot com 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2021 17:13:34 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27572 Bug ID: 27572 Summary: Multifile drops DW_TAG_namespace::DW_AT_export_symbols Product: dwz Version: unspecified Status: NEW Severity: critical Priority: P2 Component: default Assignee: nobody at sourceware dot org Reporter: jan.kratochvil at redhat dot com CC: dwz at sourceware dot org Target Milestone: --- echo 'inline namespace A { enum E { X0,X1,X2,X3,X4,X5 }; } int main() { ret= urn X0; }'|g++ -Wall -g -x c++ -;cp -p a.out a.out.dup;dwz -m a.out.dwz a.out a.out.dup;readelf -wi a.out.dwz|grep DW_AT_export_symbols Actual: (nothing) Expected: DW_AT_export_symbols: 1 Context: a.out: <0>: Abbrev Number: 1 (DW_TAG_compile_unit) ... <1><22>: Abbrev Number: 5 (DW_TAG_imported_unit) <23> DW_AT_import : <1><27>: Abbrev Number: 4 (DW_TAG_namespace) <28> DW_AT_name : A ... <2d> DW_AT_export_symbols: 1 <2><2e>: Abbrev Number: 0 a.out.dwz: <0>: Abbrev Number: 4 (DW_TAG_partial_unit) ... <1><14>: Abbrev Number: 2 (DW_TAG_namespace) <15> DW_AT_name : A ... <2><18>: Abbrev Number: 6 (DW_TAG_enumeration_type) This breaks libc++ which is using namespace 'std::__1::' -> 'std::' --=20 You are receiving this mail because: You are on the CC list for the bug.=