From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DC6963896C07; Mon, 8 Feb 2021 14:39:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DC6963896C07 From: "mark at klomp dot org" To: dwz@sourceware.org Subject: [Bug default/27368] [dwz, dwarf5] Handle .debug_macro version 5 Date: Mon, 08 Feb 2021 14:39:45 +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: mark at klomp dot 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: cc 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-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: Mon, 08 Feb 2021 14:39:46 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27368 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at klomp dot org --- Comment #7 from Mark Wielaard --- The version check should be fine. My preference would simply be version !=3D 4 && version !=3D5. This should fine as is with GCC DWARF5 since: DW_MACRO_GNU_define =3D=3D DW_MACRO_define DW_MACRO_GNU_undef =3D=3D DW_MACRO_undef DW_MACRO_GNU_start_file =3D=3D DW_MACRO_start_file DW_MACRO_GNU_end_file =3D=3D DW_MACRO_end_file DW_MACRO_GNU_define_indirect =3D=3D DW_MACRO_define_strp DW_MACRO_GNU_undef_indirect =3D=3D DW_MACRO_undef_strp DW_MACRO_GNU_transparent_include =3D=3D DW_MACRO_import That leaves: DW_MACRO_define_strx DW_MACRO_undef_strx But those are never generated by GCC (see also DW_FORM_strx[1234] support). dwz itself could generate (probably behind a --dwarf5 flag): DW_MACRO_define_sup DW_MACRO_undef_sup DW_MACRO_import_sup --=20 You are receiving this mail because: You are on the CC list for the bug.=