From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D38CF395C834; Wed, 2 Dec 2020 15:14:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D38CF395C834 From: "mark at klomp dot org" To: dwz@sourceware.org Subject: [Bug default/26987] GCC 11 Ada binaries contain unknown tags Date: Wed, 02 Dec 2020 15:14:54 +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: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: UNCONFIRMED 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-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: Wed, 02 Dec 2020 15:14:54 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26987 --- Comment #15 from Mark Wielaard --- BTW. I was wrong about gcc/g++ emitting a DW_AT_location with DW_FORM_block= for DWARF4. We have a testcase testsuite/dwz.tests/varval.S which was generated using gdb/testsuite/gdb.dwarf2/varval.exp from repo git://sourceware.org/git/binutils-gdb.git which does this. It has a special rule that says:=20 # If FORM is 'SPECIAL_expr', then VALUE is treated as a location # expression. The effective form is then DW_FORM_block, and VALUE # is passed to the (internal) '_location' proc to be translated. # This proc implements a miniature DW_OP_ assembler. Which is obviously wrong for DWARF version 4+. --=20 You are receiving this mail because: You are on the CC list for the bug.=