From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D13493857C60; Thu, 1 Oct 2020 20:54:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D13493857C60 From: "mark at klomp dot org" To: libabigail@sourceware.org Subject: [Bug default/26684] abidiff says that some bit field elements missing in version of binary with dwarf5 debuginfo. Date: Thu, 01 Oct 2020 20:54:11 +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: mark at klomp dot org 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: 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: 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: Thu, 01 Oct 2020 20:54:11 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26684 --- Comment #8 from Mark Wielaard --- Simpler example that shows the issue: struct pea { int type; long a:1, b:1, c:1; }; struct pea p; gcc -gdwarf-4: [ 1d] structure_type abbrev: 2 name (string) "pea" byte_size (data1) 8 decl_file (data1) bf.c (1) decl_line (data1) 1 decl_column (data1) 8 sibling (ref4) [ 62] [ 2a] member abbrev: 3 name (strp) "type" decl_file (data1) bf.c (1) decl_line (data1) 3 decl_column (data1) 7 type (ref4) [ 62] data_member_location (data1) 0 [ 37] member abbrev: 4 name (string) "a" decl_file (data1) bf.c (1) decl_line (data1) 4 decl_column (data1) 8 type (ref4) [ 69] byte_size (data1) 8 bit_size (data1) 1 bit_offset (data1) 31 data_member_location (data1) 0 [ 45] member abbrev: 4 name (string) "b" decl_file (data1) bf.c (1) decl_line (data1) 4 decl_column (data1) 13 type (ref4) [ 69] byte_size (data1) 8 bit_size (data1) 1 bit_offset (data1) 30 data_member_location (data1) 0 [ 53] member abbrev: 4 name (string) "c" decl_file (data1) bf.c (1) decl_line (data1) 4 decl_column (data1) 18 type (ref4) [ 69] byte_size (data1) 8 bit_size (data1) 1 bit_offset (data1) 29 data_member_location (data1) 0 gcc -gdwarf-5: [ 1e] structure_type abbrev: 3 name (string) "pea" byte_size (data1) 8 decl_file (data1) bf.c (1) decl_line (data1) 1 decl_column (data1) 8 sibling (ref4) [ 54] [ 2b] member abbrev: 4 name (strp) "type" decl_file (data1) bf.c (1) decl_line (data1) 3 decl_column (data1) 7 type (ref4) [ 54] data_member_location (data1) 0 [ 38] member abbrev: 1 name (string) "a" decl_file (implicit_const) bf.c (1) decl_line (implicit_const) 4 decl_column (data1) 8 type (ref4) [ 5b] bit_size (implicit_const) 1 data_bit_offset (data1) 32 [ 41] member abbrev: 1 name (string) "b" decl_file (implicit_const) bf.c (1) decl_line (implicit_const) 4 decl_column (data1) 13 type (ref4) [ 5b] bit_size (implicit_const) 1 data_bit_offset (data1) 33 [ 4a] member abbrev: 1 name (string) "c" decl_file (implicit_const) bf.c (1) decl_line (implicit_const) 4 decl_column (data1) 18 type (ref4) [ 5b] bit_size (implicit_const) 1 data_bit_offset (data1) 34 --=20 You are receiving this mail because: You are on the CC list for the bug.=