From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 079F5395704C; Tue, 9 Mar 2021 16:20:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 079F5395704C From: "gprocida+abigail at google dot com" To: libabigail@sourceware.org Subject: [Bug default/27552] New: libandroid.so missing symbol type information Date: Tue, 09 Mar 2021 16:20:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gprocida+abigail at google dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com 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: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2021 16:20:18 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27552 Bug ID: 27552 Summary: libandroid.so missing symbol type information Product: libabigail Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: default Assignee: dodji at redhat dot com Reporter: gprocida+abigail at google dot com CC: libabigail at sourceware dot org Target Milestone: --- The libandroid.so library is now part of the libabigail test suite, as is an ABI extracted from this. I noticed that the names used of the ELF symbols and the names of declared variables and functions, as found in the ABI, are disjoint. I verified that: 1. if a symbol is added or removed, this is reported 2. if any type information changes, this is not reported An examination of libandroid.so with nm -o and dwarfdump confirms that symb= ol names are properly present in the DWARF. For example, from the dwarfdump: < 1><0x00024873> DW_TAG_subprogram DW_AT_low_pc 0x0000ce62 DW_AT_high_pc 38 DW_AT_frame_base len 0x0001: 0x5d:=20 DW_OP_reg13 DW_AT_GNU_all_call_sites yes(1) DW_AT_name AAssetDir_close DW_AT_decl_file 0x00000034 frameworks/base/native/android/asset_manager.cpp DW_AT_decl_line 0x0000008c DW_AT_external yes(1) < 2><0x00024885> DW_TAG_formal_parameter DW_AT_location 0x00001332 .debug_loc offset : 0x00001332 [ 0] [ 1] DW_OP_reg0 [ 2] DW_OP_reg4 [ 3] DW_OP_reg0 DW_AT_name assetDir DW_AT_decl_file 0x00000034 frameworks/base/native/android/asset_manager.cpp DW_AT_decl_line 0x0000008c DW_AT_type <0x00024e40> < 2><0x00024894> DW_TAG_inlined_subroutine ... If I discover anything further, I'll follow up here. --=20 You are receiving this mail because: You are on the CC list for the bug.=