From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A0C1C3854805; Wed, 20 Jan 2021 18:28:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A0C1C3854805 From: "jakub at redhat dot com" To: dwz@sourceware.org Subject: [Bug default/27212] ./dwz: xxx: Invalid DW_AT_decl_file file number 20 Date: Wed, 20 Jan 2021 18:28:26 +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: jakub 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: 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, 20 Jan 2021 18:28:26 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27212 --- Comment #3 from Jakub Jelinek --- So we have in gencheck's .debug_abbrev: 7 DW_TAG_variable [no children] DW_AT_name DW_FORM_strp DW_AT_decl_file DW_FORM_implicit_const: 20 DW_AT_decl_line DW_FORM_data2 DW_AT_decl_column DW_FORM_implicit_const: 24 DW_AT_type DW_FORM_ref4 DW_AT value: 0 DW_FORM value: 0 and in .debug_info: <1><1223>: Abbrev Number: 7 (DW_TAG_variable) <1224> DW_AT_name : (indirect string, offset: 0x18c8): PTA_3DN= OW <1228> DW_AT_decl_file : 20 <1228> DW_AT_decl_line : 2394 <122a> DW_AT_decl_column : 24 <122a> DW_AT_type : <0x1204> The DW_AT_decl_file uses DW_FORM_implicit_const 20, and that is fine given corresponding: The File Name Table (offset 0x194): Entry Dir Time Size Name 1 1 0 0 gencheck.c 2 1 0 0 wide-int-bitmask.h 3 2 0 0 stddef.h 4 3 0 0 types.h 5 4 0 0 struct_FILE.h 6 4 0 0 FILE.h 7 5 0 0 cstring 8 5 0 0 type_traits 9 5 0 0 cstdlib 10 6 0 0 std_abs.h 11 7 0 0 string.h 12 7 0 0 stdlib.h 13 3 0 0 stdlib-float.h 14 3 0 0 stdlib-bsearch.h 15 5 0 0 stdlib.h 16 3 0 0 stdint-uintn.h 17 8 0 0 c++config.h 18 1 0 0 flag-types.h 19 7 0 0 stdio.h 20 9 0 0 i386.h 21 1 0 0 wide-int.h But somehow the cu we see during reading has only fewer files than that. --=20 You are receiving this mail because: You are on the CC list for the bug.=