From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36659 invoked by alias); 28 Oct 2015 10:38:26 -0000 Mailing-List: contact libabigail-help@sourceware.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: libabigail-owner@sourceware.org Received: (qmail 36628 invoked by uid 48); 28 Oct 2015 10:38:23 -0000 From: "mjw at redhat dot com" To: libabigail@sourceware.org Subject: [Bug default/19173] Abidiff doesn't detect symbol size change in library. Date: Thu, 01 Jan 2015 00:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: mjw at redhat dot com X-Bugzilla-Status: NEW 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q4/txt/msg00141.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=19173 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mjw at redhat dot com --- Comment #14 from Mark Wielaard --- Note that elfutils libdw comes with this helper function (which for array types does know about the default lower bound of the language, DW_AT_lower_bound, DW_AT_upper_bound or DW_AT_count and the DW_AT_byte_stride): /* Compute the byte-size of a type DIE according to DWARF rules. For most types, this is just DW_AT_byte_size. For DW_TAG_array_type it can apply much more complex rules. */ extern int dwarf_aggregate_size (Dwarf_Die *die, Dwarf_Word *size); But that doesn't handle the ELF symbol type, just the Dwarf size. -- You are receiving this mail because: You are on the CC list for the bug.