From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2718D3858C5E; Thu, 12 Oct 2023 14:30:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2718D3858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1697121034; bh=R08lPa5fTAlVvSi2vq8OdJibDqT5IEyo9VxDjTP6LVE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=h1IUem9zpc9R3f99XBLQzOyaJ0SIXry7nCiGON5BK9yW4LfSLufvzOe/sMkiHZuX/ iv39gQS6iUM/fATEkxmaiL9gY0onE1pwMeDoOBqxzhUZS/+sRBev7vm0OK+Mno5H5B J3HZrselD9IjeWVxVD6Lxqv002UCskPHpu/SUXlw= From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug libdw/30967] Discriminator in Dwarf_Line_s may exceed 24 bits Date: Thu, 12 Oct 2023 14:30:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: libdw 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: unassigned 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30967 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at klomp dot org --- Comment #2 from Mark Wielaard --- Note that eu-readelf --debug-dump=3Dinfo also has trouble with this (probab= ly also because it cannot correct parse the large discriminator): $ eu-readelf --debug-dump=3Dinfo ./liblog.so [...] Version: 5, Abbreviation section offset: 3225, Address size: 4, Offset siz= e: 4 Unit type: compile (1) [ 51c9] compile_unit abbrev: 1 producer (strx1) "Android (10742551, +pgo, +bolt, +l= to, + mlgo, based on r498229b) clang version 17.0.4 (https://android.googlesource.com/ toolchain/llvm-project e34ed7d63863b45858e74126edaa738e75887800)" language (data2) C_plus_plus_14 (33) name (strx1) "system/logging/liblog/logger_write.cpp" str_offsets_base (sec_offset) str offsets base [ 1198] stmt_list (sec_offset) 4453 low_pc (addr) +0000000000 ranges (rnglistx) range index [ 24] addr_base (sec_offset) address base [ 1d8] rnglists_base (sec_offset) range list [ 10a] loclists_base (sec_offset) location list [ 777] [ 51e7] base_type abbrev: 2 name (strx2) "DW_ATE_signed_32" encoding (data1) signed (5) byte_size (data1) 4 [ 51ec] base_type abbrev: 2 name (strx2) "DW_ATE_signed_64" encoding (data1) signed (5) byte_size (data1) 8 [ 51f1] subprogram abbrev: 3 low_pc (addrx) [1a] +0x00005880 <_Z13GetDefaultT= agv> high_pc (data4) 114 (+0x000058f2) frame_base (exprloc)=20 [ 0] reg5 call_all_calls (flag_present) yes abstract_origin (ref4) [ 9e3d] [ 51fd] variable abbrev: 4 name (strx1) "default_tag" type (ref4) [ 5215] eu-readelf: no srcfiles for CU [51c9] decl_file (data1) ??? (0) decl_line (data1) 152 location (exprloc)=20 [ 0] addrx [0] +0xfe58 <_ZZ13GetDefaultTagvE11default_tag> [...] Note that the CU DIE says: stmt_list (sec_offset) 4453 And there definitely is a table at offset 4453 as can be seen with eu-reade= lf --debug-dump=3Dline ./liblog.so --=20 You are receiving this mail because: You are on the CC list for the bug.=