From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 74472385DC08; Tue, 31 Mar 2020 12:17:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 74472385DC08 From: "jwakely.gcc at gmail dot com" To: libabigail@sourceware.org Subject: [Bug default/25753] New: Add note to add/removed functions that are in comdat sections Date: Tue, 31 Mar 2020 12:17:44 +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: enhancement X-Bugzilla-Who: jwakely.gcc at gmail 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: Libabigail mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2020 12:17:44 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25753 Bug ID: 25753 Summary: Add note to add/removed functions that are in comdat sections Product: libabigail Version: unspecified Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: default Assignee: dodji at redhat dot com Reporter: jwakely.gcc at gmail dot com CC: libabigail at sourceware dot org Target Milestone: --- For C++ libraries a small code change or a slightly different compiler vers= ion can alter inlining decisions, causing previously emitted functions to be inlined and disappear from the generated code, causing abigail to report removed functions. The opposite can also happen where previously inlined functions start to be emitted, and abigail reports added functions. If an added/removed symbol is in a comdat section, it probably means it's inline and not actually a part of the library's ABI. The fact a symbol is in comdat is already in the metadata, so it would be useful to add a note about comdat when showing added/removed functions. --=20 You are receiving this mail because: You are on the CC list for the bug.=