mirror of
git://sourceware.org/git/libabigail.git
synced 2025-02-21 08:17:00 +00:00
Type read from DWARF don't have alignment information
Types read from DWARF don't have any alignment information so we
shouldn't try to guess it, especially for structures. So this patch
sets the alignment to zero in that case. This helps remove some
spurious alignment changes detected by abidiff just because in some
cases we fail to guess that.
In the process, I noticed that when calculating the hash value of a
given data member, we were not including the hash value of its
context. This led to mistakenly considering some data member changes
as redundant. So the patch fixes that too.
* src/abg-dwarf-reader.cc (build_type_decl)
(build_class_type_and_add_to_ir, build_pointer_type_def)
(build_reference_type, build_function_decl): Set the alignment for
native types, class, reference and function type to zero,
effectively meaning that they don't have alignment information.
* src/abg-hash.cc (var_decl:#️⃣:operator): Take the hash value
of the data member context in account when computing the hash
value of a given data member.
* tests/data/test-diff-dwarf/test-23-diff-arch-report-0.txt:
Adjust.
* tests/data/test-diff-dwarf/test10-report.txt: Likewise.
* tests/data/test-diff-dwarf/test13-report.txt: Likewise.
* tests/data/test-diff-dwarf/test22-changed-parm-c-report-0.txt: Likewise.
* tests/data/test-diff-dwarf/test26-added-parms-before-variadic-report.txt: Likewise.
* tests/data/test-diff-dwarf/test8-report.txt: Likewise.
* tests/data/test-diff-dwarf/test9-report.txt: Likewise.
* tests/data/test-diff-filter/test13-report.txt: Likewise.
* tests/data/test-diff-filter/test6-report.txt: Likewise.
* tests/data/test-diff-suppr/test9-changed-parm-c-report-0.txt: Likewise.
* tests/data/test-read-dwarf/test0.abi: Likewise.
* tests/data/test-read-dwarf/test1.abi: Likewise.
* tests/data/test-read-dwarf/test2.so.abi: Likewise.
* tests/data/test-read-dwarf/test3.so.abi: Likewise.
* tests/data/test-read-dwarf/test4.so.abi: Likewise.
* tests/data/test-read-dwarf/test5.o.abi: Likewise.
* tests/data/test-read-dwarf/test6.so.abi: Likewise.
* tests/data/test-read-dwarf/test7.so.abi: Likewise.
* tests/data/test-read-dwarf/test8-qualified-this-pointer.so.abi: Likewise.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
770858ba69
commit
a05384675c
@ -6035,13 +6035,12 @@ build_type_decl(read_context& ctxt,
|
||||
if (bit_size == 0)
|
||||
bit_size = byte_size * 8;
|
||||
|
||||
size_t alignment = bit_size < 8 ? 8 : bit_size;
|
||||
string type_name, linkage_name;
|
||||
location loc;
|
||||
die_loc_and_name(ctxt, die, loc, type_name, linkage_name);
|
||||
|
||||
result.reset(new type_decl(type_name, bit_size,
|
||||
alignment, loc,
|
||||
/*alignment=*/0, loc,
|
||||
linkage_name));
|
||||
ctxt.associate_die_to_type(dwarf_dieoffset(die),
|
||||
die_is_from_alt_di,
|
||||
@ -6285,7 +6284,7 @@ build_class_type_and_add_to_ir(read_context& ctxt,
|
||||
}
|
||||
else
|
||||
{
|
||||
result.reset(new class_decl(name, size, 0, is_struct, loc,
|
||||
result.reset(new class_decl(name, size, /*alignment=*/0, is_struct, loc,
|
||||
decl_base::VISIBILITY_DEFAULT));
|
||||
|
||||
if (is_declaration_only)
|
||||
@ -6661,7 +6660,9 @@ build_pointer_type_def(read_context& ctxt,
|
||||
return result;
|
||||
size *= 8;
|
||||
|
||||
result.reset(new pointer_type_def(utype, size, size, location()));
|
||||
result.reset(new pointer_type_def(utype, size,
|
||||
/*alignment=*/0,
|
||||
location()));
|
||||
assert(result->get_pointed_to_type());
|
||||
ctxt.associate_die_to_type(dwarf_dieoffset(die),
|
||||
die_is_in_alt_di,
|
||||
@ -6741,7 +6742,8 @@ build_reference_type(read_context& ctxt,
|
||||
|
||||
bool is_lvalue = (tag == DW_TAG_reference_type) ? true : false;
|
||||
|
||||
result.reset(new reference_type_def(utype, is_lvalue, size, size,
|
||||
result.reset(new reference_type_def(utype, is_lvalue, size,
|
||||
/*alignment=*/0,
|
||||
location()));
|
||||
ctxt.associate_die_to_type(dwarf_dieoffset(die),
|
||||
die_is_from_alt_di,
|
||||
@ -7133,11 +7135,11 @@ build_function_decl(read_context& ctxt,
|
||||
is_method,
|
||||
function_parms,
|
||||
tu->get_address_size(),
|
||||
tu->get_address_size())
|
||||
/*alignment=*/0)
|
||||
: new function_type(is_type(return_type_decl),
|
||||
function_parms,
|
||||
tu->get_address_size(),
|
||||
tu->get_address_size()));
|
||||
/*alignement=*/0));
|
||||
|
||||
tu->bind_function_type_life_time(fn_type);
|
||||
|
||||
|
@ -348,8 +348,11 @@ var_decl::hash::operator()(const var_decl& t) const
|
||||
v = hashing::combine_hashes(v, hash_type_ptr(t.get_type()));
|
||||
|
||||
if (is_data_member(t) && get_data_member_is_laid_out(t))
|
||||
v = hashing::combine_hashes(v,
|
||||
hash_size_t(get_data_member_offset(t)));
|
||||
{
|
||||
v = hashing::combine_hashes(v, hash_decl(*t.get_scope()));
|
||||
v = hashing::combine_hashes(v,
|
||||
hash_size_t(get_data_member_offset(t)));
|
||||
}
|
||||
|
||||
t.set_hash(v);
|
||||
}
|
||||
|
@ -8,6 +8,5 @@ architecture changed from 'elf-intel-80386' to 'elf-amd-x86_64'
|
||||
|
||||
[C]'function int foo()' has some indirect sub-type changes:
|
||||
address size of function changed from 32 bits to 64 bits
|
||||
address alignment of function changed from 32 bits to 64 bits
|
||||
|
||||
|
||||
|
@ -17,7 +17,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
in pointed to type 'int':
|
||||
type name changed from 'int' to 'char'
|
||||
type size changed from 32 to 8 bits
|
||||
type alignment changed from 32 to 8 bits
|
||||
type name changed from 'int*[10]' to 'char*[10]'
|
||||
and offset changed from 512 to 640 (in bits)
|
||||
|
||||
|
@ -14,7 +14,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
type of 'unsigned int S::m2' changed:
|
||||
type name changed from 'unsigned int' to 'long long int'
|
||||
type size changed from 32 to 64 bits
|
||||
type alignment changed from 32 to 64 bits
|
||||
'unsigned char S::m3' offset changed from 96 to 128 (in bits)
|
||||
|
||||
|
||||
|
@ -7,6 +7,5 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
parameter 0 of type 'int' changed:
|
||||
type name changed from 'int' to 'char'
|
||||
type size changed from 32 to 8 bits
|
||||
type alignment changed from 32 to 8 bits
|
||||
|
||||
|
||||
|
@ -7,7 +7,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
parameter 1 of type '...' changed:
|
||||
entity changed from 'variadic parameter type' to 'const char*'
|
||||
type size changed from 0 to 64 bits
|
||||
type alignment changed from 0 to 64 bits
|
||||
parameter 2 of type '...' was added
|
||||
|
||||
|
||||
@ -15,7 +14,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
parameter 1 of type '...' changed:
|
||||
entity changed from 'variadic parameter type' to 'const char*'
|
||||
type size changed from 0 to 64 bits
|
||||
type alignment changed from 0 to 64 bits
|
||||
parameter 2 of type '...' was added
|
||||
|
||||
|
||||
@ -23,7 +21,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
parameter 2 of type '...' changed:
|
||||
entity changed from 'variadic parameter type' to 'const int*'
|
||||
type size changed from 0 to 64 bits
|
||||
type alignment changed from 0 to 64 bits
|
||||
parameter 3 of type '...' was added
|
||||
|
||||
|
||||
@ -31,7 +28,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
parameter 2 of type '...' changed:
|
||||
entity changed from 'variadic parameter type' to 'const int*'
|
||||
type size changed from 0 to 64 bits
|
||||
type alignment changed from 0 to 64 bits
|
||||
parameter 3 of type '...' was added
|
||||
|
||||
|
||||
|
@ -23,7 +23,6 @@ Variable symbols changes summary: 0 Removed, 0 Added function symbol not referen
|
||||
type of 'int S::m0' changed:
|
||||
type name changed from 'int' to 'char'
|
||||
type size changed from 32 to 8 bits
|
||||
type alignment changed from 32 to 8 bits
|
||||
and offset changed from 32 to 64 (in bits), access changed from 'public' to 'private'
|
||||
|
||||
|
||||
|
@ -9,6 +9,5 @@ Variables changes summary: 0 Removed, 1 Changed, 1 Added variables
|
||||
type of variable changed:
|
||||
type name changed from 'int' to 'char'
|
||||
type size changed from 32 to 8 bits
|
||||
type alignment changed from 32 to 8 bits
|
||||
|
||||
|
||||
|
@ -19,7 +19,6 @@ Variable symbols changes summary: 0 Removed, 0 Added function symbol not referen
|
||||
type of 'int S::m0' changed:
|
||||
type name changed from 'int' to 'char'
|
||||
type size changed from 32 to 8 bits
|
||||
type alignment changed from 32 to 8 bits
|
||||
and offset changed from 32 to 64 (in bits)
|
||||
|
||||
|
||||
|
@ -8,6 +8,5 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
underlying type 'unsigned char' changed:
|
||||
type name changed from 'unsigned char' to 'unsigned int'
|
||||
type size changed from 8 to 32 bits
|
||||
type alignment changed from 8 to 32 bits
|
||||
|
||||
|
||||
|
@ -7,6 +7,5 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
parameter 0 of type 'int' changed:
|
||||
type name changed from 'int' to 'char'
|
||||
type size changed from 32 to 8 bits
|
||||
type alignment changed from 32 to 8 bits
|
||||
|
||||
|
||||
|
@ -7,6 +7,5 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
parameter 0 of type 'int' changed:
|
||||
type name changed from 'int' to 'char'
|
||||
type size changed from 32 to 8 bits
|
||||
type alignment changed from 32 to 8 bits
|
||||
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
</elf-variable-symbols>
|
||||
<abi-instr version='1.0' address-size='64' path='test0.cc'>
|
||||
<namespace-decl name='ns0'>
|
||||
<function-decl name='bar' mangled-name='_ZN3ns03barEiz' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='12' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_ZN3ns03barEiz'>
|
||||
<function-decl name='bar' mangled-name='_ZN3ns03barEiz' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='12' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN3ns03barEiz'>
|
||||
<parameter type-id='type-id-1'/>
|
||||
<parameter is-variadic='yes'/>
|
||||
<return type-id='type-id-2'/>
|
||||
</function-decl>
|
||||
<function-decl name='baz' mangled-name='_ZN3ns03bazERi' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='16' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_ZN3ns03bazERi'>
|
||||
<function-decl name='baz' mangled-name='_ZN3ns03bazERi' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='16' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN3ns03bazERi'>
|
||||
<parameter type-id='type-id-3'/>
|
||||
<return type-id='type-id-2'/>
|
||||
</function-decl>
|
||||
@ -40,31 +40,31 @@
|
||||
<enumerator name='e0' value='0'/>
|
||||
<enumerator name='e1' value='1'/>
|
||||
</enum-decl>
|
||||
<function-decl name='bar2' mangled-name='_ZN3ns04bar2ERNS_1EE' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='22' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_ZN3ns04bar2ERNS_1EE'>
|
||||
<function-decl name='bar2' mangled-name='_ZN3ns04bar2ERNS_1EE' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='22' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN3ns04bar2ERNS_1EE'>
|
||||
<parameter type-id='type-id-6'/>
|
||||
<return type-id='type-id-2'/>
|
||||
</function-decl>
|
||||
<typedef-decl name='long_long' type-id='type-id-7' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='25' column='1' id='type-id-8'/>
|
||||
<function-decl name='baz2' mangled-name='_ZN3ns04baz2ERi' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='28' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_ZN3ns04baz2ERi'>
|
||||
<function-decl name='baz2' mangled-name='_ZN3ns04baz2ERi' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='28' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN3ns04baz2ERi'>
|
||||
<parameter type-id='type-id-3'/>
|
||||
<return type-id='type-id-8'/>
|
||||
</function-decl>
|
||||
<function-decl name='foo' mangled-name='_ZN3ns03fooEPcl' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='45' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_ZN3ns03fooEPcl'>
|
||||
<function-decl name='foo' mangled-name='_ZN3ns03fooEPcl' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='45' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN3ns03fooEPcl'>
|
||||
<parameter type-id='type-id-9'/>
|
||||
<parameter type-id='type-id-10'/>
|
||||
<return type-id='type-id-10'/>
|
||||
</function-decl>
|
||||
</namespace-decl>
|
||||
<type-decl name='void' id='type-id-2'/>
|
||||
<type-decl name='int' size-in-bits='32' alignment-in-bits='32' id='type-id-1'/>
|
||||
<reference-type-def kind='lvalue' type-id='type-id-1' size-in-bits='64' alignment-in-bits='64' id='type-id-3'/>
|
||||
<type-decl name='int' size-in-bits='32' id='type-id-1'/>
|
||||
<reference-type-def kind='lvalue' type-id='type-id-1' size-in-bits='64' id='type-id-3'/>
|
||||
<type-decl name='enum-E-underlying-type' size-in-bits='32' alignment-in-bits='32' id='type-id-5'/>
|
||||
<reference-type-def kind='lvalue' type-id='type-id-4' size-in-bits='64' alignment-in-bits='64' id='type-id-6'/>
|
||||
<type-decl name='long long int' size-in-bits='64' alignment-in-bits='64' id='type-id-7'/>
|
||||
<type-decl name='long int' size-in-bits='64' alignment-in-bits='64' id='type-id-10'/>
|
||||
<type-decl name='char' size-in-bits='8' alignment-in-bits='8' id='type-id-11'/>
|
||||
<pointer-type-def type-id='type-id-11' size-in-bits='64' alignment-in-bits='64' id='type-id-9'/>
|
||||
<function-decl name='main' mangled-name='main' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='49' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='main'>
|
||||
<reference-type-def kind='lvalue' type-id='type-id-4' size-in-bits='64' id='type-id-6'/>
|
||||
<type-decl name='long long int' size-in-bits='64' id='type-id-7'/>
|
||||
<type-decl name='long int' size-in-bits='64' id='type-id-10'/>
|
||||
<type-decl name='char' size-in-bits='8' id='type-id-11'/>
|
||||
<pointer-type-def type-id='type-id-11' size-in-bits='64' id='type-id-9'/>
|
||||
<function-decl name='main' mangled-name='main' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='49' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='main'>
|
||||
<return type-id='type-id-1'/>
|
||||
</function-decl>
|
||||
<var-decl name='global' type-id='type-id-1' mangled-name='global' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='3' column='1' elf-symbol-id='global'/>
|
||||
|
@ -45,8 +45,8 @@
|
||||
<var-decl name='m1' type-id='type-id-3' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='4' column='1'/>
|
||||
</data-member>
|
||||
</class-decl>
|
||||
<type-decl name='long long int' size-in-bits='64' alignment-in-bits='64' id='type-id-2'/>
|
||||
<type-decl name='char' size-in-bits='8' alignment-in-bits='8' id='type-id-3'/>
|
||||
<type-decl name='long long int' size-in-bits='64' id='type-id-2'/>
|
||||
<type-decl name='char' size-in-bits='8' id='type-id-3'/>
|
||||
<class-decl name='b1' size-in-bits='128' is-struct='yes' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='7' column='1' id='type-id-4'>
|
||||
<data-member access='public' layout-offset-in-bits='0'>
|
||||
<var-decl name='m0' type-id='type-id-5' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='9' column='1'/>
|
||||
@ -55,7 +55,7 @@
|
||||
<var-decl name='m1' type-id='type-id-3' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='10' column='1'/>
|
||||
</data-member>
|
||||
</class-decl>
|
||||
<type-decl name='double' size-in-bits='64' alignment-in-bits='64' id='type-id-5'/>
|
||||
<type-decl name='double' size-in-bits='64' id='type-id-5'/>
|
||||
<class-decl name='s0' size-in-bits='384' is-struct='yes' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='13' column='1' id='type-id-6'>
|
||||
<base-class access='public' layout-offset-in-bits='24' is-virtual='yes' type-id='type-id-1'/>
|
||||
<base-class access='public' layout-offset-in-bits='32' is-virtual='yes' type-id='type-id-4'/>
|
||||
@ -72,50 +72,50 @@
|
||||
<var-decl name='m1' type-id='type-id-9' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='19' column='1'/>
|
||||
</data-member>
|
||||
<member-function access='public' constructor='yes'>
|
||||
<function-decl name='s0' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='21' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64'>
|
||||
<function-decl name='s0' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='21' column='1' visibility='default' binding='global' size-in-bits='64'>
|
||||
<parameter type-id='type-id-11' is-artificial='yes'/>
|
||||
<parameter type-id='type-id-8' is-artificial='yes'/>
|
||||
<return type-id='type-id-12'/>
|
||||
</function-decl>
|
||||
</member-function>
|
||||
<member-function access='public' destructor='yes'>
|
||||
<function-decl name='~s0' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='27' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64'>
|
||||
<function-decl name='~s0' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='27' column='1' visibility='default' binding='global' size-in-bits='64'>
|
||||
<parameter type-id='type-id-11' is-artificial='yes'/>
|
||||
<parameter type-id='type-id-8' is-artificial='yes'/>
|
||||
<return type-id='type-id-12'/>
|
||||
</function-decl>
|
||||
</member-function>
|
||||
<member-function access='public'>
|
||||
<function-decl name='mem_fun' mangled-name='_ZN2s07mem_funEv' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='36' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_ZN2s07mem_funEv'>
|
||||
<function-decl name='mem_fun' mangled-name='_ZN2s07mem_funEv' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='36' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN2s07mem_funEv'>
|
||||
<parameter type-id='type-id-11' is-artificial='yes'/>
|
||||
<return type-id='type-id-7'/>
|
||||
</function-decl>
|
||||
</member-function>
|
||||
<member-function access='public' constructor='yes'>
|
||||
<function-decl name='s0' mangled-name='_ZN2s0C1Ev' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='21' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_ZN2s0C1Ev'>
|
||||
<function-decl name='s0' mangled-name='_ZN2s0C1Ev' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='21' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN2s0C1Ev'>
|
||||
<parameter type-id='type-id-11' is-artificial='yes'/>
|
||||
<parameter type-id='type-id-8' is-artificial='yes'/>
|
||||
<return type-id='type-id-12'/>
|
||||
</function-decl>
|
||||
</member-function>
|
||||
<member-function access='public' destructor='yes'>
|
||||
<function-decl name='~s0' mangled-name='_ZN2s0D1Ev' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='27' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_ZN2s0D1Ev'>
|
||||
<function-decl name='~s0' mangled-name='_ZN2s0D1Ev' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='27' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN2s0D1Ev'>
|
||||
<parameter type-id='type-id-11' is-artificial='yes'/>
|
||||
<parameter type-id='type-id-8' is-artificial='yes'/>
|
||||
<return type-id='type-id-12'/>
|
||||
</function-decl>
|
||||
</member-function>
|
||||
</class-decl>
|
||||
<type-decl name='int' size-in-bits='32' alignment-in-bits='32' id='type-id-8'/>
|
||||
<type-decl name='unsigned char' size-in-bits='8' alignment-in-bits='8' id='type-id-10'/>
|
||||
<type-decl name='int' size-in-bits='32' id='type-id-8'/>
|
||||
<type-decl name='unsigned char' size-in-bits='8' id='type-id-10'/>
|
||||
<type-decl name='void' id='type-id-12'/>
|
||||
<pointer-type-def type-id='type-id-6' size-in-bits='64' alignment-in-bits='64' id='type-id-11'/>
|
||||
<reference-type-def kind='lvalue' type-id='type-id-6' size-in-bits='64' alignment-in-bits='64' id='type-id-13'/>
|
||||
<function-decl name='foo' mangled-name='_Z3fooR2s0' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='42' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_Z3fooR2s0'>
|
||||
<pointer-type-def type-id='type-id-6' size-in-bits='64' id='type-id-11'/>
|
||||
<reference-type-def kind='lvalue' type-id='type-id-6' size-in-bits='64' id='type-id-13'/>
|
||||
<function-decl name='foo' mangled-name='_Z3fooR2s0' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='42' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_Z3fooR2s0'>
|
||||
<parameter type-id='type-id-13' name='s' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='42' column='1'/>
|
||||
<return type-id='type-id-12'/>
|
||||
</function-decl>
|
||||
<function-decl name='main' mangled-name='main' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='48' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='main'>
|
||||
<function-decl name='main' mangled-name='main' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='48' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='main'>
|
||||
<return type-id='type-id-8'/>
|
||||
</function-decl>
|
||||
</abi-instr>
|
||||
|
@ -24,26 +24,26 @@
|
||||
<var-decl name='member1' type-id='type-id-3' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='7' column='1'/>
|
||||
</data-member>
|
||||
<member-function access='public' constructor='yes'>
|
||||
<function-decl name='first_type' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='9' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64'>
|
||||
<function-decl name='first_type' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='9' column='1' visibility='default' binding='global' size-in-bits='64'>
|
||||
<parameter type-id='type-id-4' is-artificial='yes'/>
|
||||
<return type-id='type-id-5'/>
|
||||
</function-decl>
|
||||
</member-function>
|
||||
<member-function access='public' constructor='yes'>
|
||||
<function-decl name='first_type' mangled-name='_ZN10first_typeC1Ev' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='9' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_ZN10first_typeC1Ev'>
|
||||
<function-decl name='first_type' mangled-name='_ZN10first_typeC1Ev' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='9' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN10first_typeC1Ev'>
|
||||
<parameter type-id='type-id-4' is-artificial='yes'/>
|
||||
<return type-id='type-id-5'/>
|
||||
</function-decl>
|
||||
</member-function>
|
||||
</class-decl>
|
||||
<type-decl name='int' size-in-bits='32' alignment-in-bits='32' id='type-id-6'/>
|
||||
<type-decl name='int' size-in-bits='32' id='type-id-6'/>
|
||||
<typedef-decl name='integer' type-id='type-id-6' id='type-id-2'/>
|
||||
<type-decl name='unsigned char' size-in-bits='8' alignment-in-bits='8' id='type-id-7'/>
|
||||
<type-decl name='unsigned char' size-in-bits='8' id='type-id-7'/>
|
||||
<typedef-decl name='character' type-id='type-id-7' id='type-id-3'/>
|
||||
<type-decl name='void' id='type-id-5'/>
|
||||
<pointer-type-def type-id='type-id-1' size-in-bits='64' alignment-in-bits='64' id='type-id-4'/>
|
||||
<pointer-type-def type-id='type-id-1' size-in-bits='64' id='type-id-4'/>
|
||||
<namespace-decl name='a'>
|
||||
<function-decl name='build_first_type' mangled-name='_ZN1a16build_first_typeEv' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2-0.cc' line='13' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_ZN1a16build_first_typeEv'>
|
||||
<function-decl name='build_first_type' mangled-name='_ZN1a16build_first_typeEv' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2-0.cc' line='13' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN1a16build_first_typeEv'>
|
||||
<return type-id='type-id-4'/>
|
||||
</function-decl>
|
||||
</namespace-decl>
|
||||
@ -57,22 +57,22 @@
|
||||
<var-decl name='member1' type-id='type-id-3' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='15' column='1'/>
|
||||
</data-member>
|
||||
<member-function access='public' constructor='yes'>
|
||||
<function-decl name='second_type' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='17' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64'>
|
||||
<function-decl name='second_type' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='17' column='1' visibility='default' binding='global' size-in-bits='64'>
|
||||
<parameter type-id='type-id-9' is-artificial='yes'/>
|
||||
<return type-id='type-id-5'/>
|
||||
</function-decl>
|
||||
</member-function>
|
||||
<member-function access='public' constructor='yes'>
|
||||
<function-decl name='second_type' mangled-name='_ZN11second_typeC1Ev' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='17' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_ZN11second_typeC1Ev'>
|
||||
<function-decl name='second_type' mangled-name='_ZN11second_typeC1Ev' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='17' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN11second_typeC1Ev'>
|
||||
<parameter type-id='type-id-9' is-artificial='yes'/>
|
||||
<return type-id='type-id-5'/>
|
||||
</function-decl>
|
||||
</member-function>
|
||||
</class-decl>
|
||||
<type-decl name='void' id='type-id-5'/>
|
||||
<pointer-type-def type-id='type-id-8' size-in-bits='64' alignment-in-bits='64' id='type-id-9'/>
|
||||
<pointer-type-def type-id='type-id-8' size-in-bits='64' id='type-id-9'/>
|
||||
<namespace-decl name='a'>
|
||||
<function-decl name='build_second_type' mangled-name='_ZN1a17build_second_typeEv' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2-1.cc' line='13' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_ZN1a17build_second_typeEv'>
|
||||
<function-decl name='build_second_type' mangled-name='_ZN1a17build_second_typeEv' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2-1.cc' line='13' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN1a17build_second_typeEv'>
|
||||
<return type-id='type-id-9'/>
|
||||
</function-decl>
|
||||
</namespace-decl>
|
||||
|
@ -12,7 +12,7 @@
|
||||
</elf-function-symbols>
|
||||
<abi-instr version='1.0' address-size='64' path='test3.c'>
|
||||
<type-decl name='void' id='type-id-1'/>
|
||||
<function-decl name='__foo' mangled-name='foo' filepath='/home/skumari/Tasks/source_repo/dodji/libabigail/tests/data/test-read-dwarf/test3.c' line='8' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='foo'>
|
||||
<function-decl name='__foo' mangled-name='foo' filepath='/home/skumari/Tasks/source_repo/dodji/libabigail/tests/data/test-read-dwarf/test3.c' line='8' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='foo'>
|
||||
<return type-id='type-id-1'/>
|
||||
</function-decl>
|
||||
</abi-instr>
|
||||
|
@ -6,14 +6,14 @@
|
||||
<elf-symbol name='cpy' type='func-type' binding='global-binding' is-defined='yes'/>
|
||||
</elf-function-symbols>
|
||||
<abi-instr version='1.0' address-size='64' path='test4.c'>
|
||||
<type-decl name='char' size-in-bits='8' alignment-in-bits='8' id='type-id-1'/>
|
||||
<pointer-type-def type-id='type-id-1' size-in-bits='64' alignment-in-bits='64' id='type-id-2'/>
|
||||
<type-decl name='char' size-in-bits='8' id='type-id-1'/>
|
||||
<pointer-type-def type-id='type-id-1' size-in-bits='64' id='type-id-2'/>
|
||||
<qualified-type-def type-id='type-id-2' restrict='yes' id='type-id-3'/>
|
||||
<qualified-type-def type-id='type-id-1' const='yes' id='type-id-4'/>
|
||||
<pointer-type-def type-id='type-id-4' size-in-bits='64' alignment-in-bits='64' id='type-id-5'/>
|
||||
<pointer-type-def type-id='type-id-4' size-in-bits='64' id='type-id-5'/>
|
||||
<qualified-type-def type-id='type-id-5' restrict='yes' id='type-id-6'/>
|
||||
<type-decl name='unsigned int' size-in-bits='32' alignment-in-bits='32' id='type-id-7'/>
|
||||
<function-decl name='cpy' mangled-name='cpy' filepath='/home/mark/src/tests/test4.c' line='2' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='cpy'>
|
||||
<type-decl name='unsigned int' size-in-bits='32' id='type-id-7'/>
|
||||
<function-decl name='cpy' mangled-name='cpy' filepath='/home/mark/src/tests/test4.c' line='2' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='cpy'>
|
||||
<parameter type-id='type-id-3' name='s1' filepath='/home/mark/src/tests/test4.c' line='2' column='1'/>
|
||||
<parameter type-id='type-id-6' name='s2' filepath='/home/mark/src/tests/test4.c' line='2' column='1'/>
|
||||
<parameter type-id='type-id-7' name='n' filepath='/home/mark/src/tests/test4.c' line='2' column='1'/>
|
||||
|
@ -4,8 +4,8 @@
|
||||
</elf-function-symbols>
|
||||
<abi-instr version='1.0' address-size='64' path='test.cc'>
|
||||
<type-decl name='void' id='type-id-1'/>
|
||||
<pointer-type-def type-id='type-id-1' size-in-bits='64' alignment-in-bits='64' id='type-id-2'/>
|
||||
<function-decl name='bar' mangled-name='_Z3barPv' filepath='/home/dodji/libabigailtests/test.cc' line='2' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_Z3barPv'>
|
||||
<pointer-type-def type-id='type-id-1' size-in-bits='64' id='type-id-2'/>
|
||||
<function-decl name='bar' mangled-name='_Z3barPv' filepath='/home/dodji/libabigailtests/test.cc' line='2' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_Z3barPv'>
|
||||
<parameter type-id='type-id-2'/>
|
||||
<return type-id='type-id-1'/>
|
||||
</function-decl>
|
||||
|
@ -19,18 +19,18 @@
|
||||
<abi-instr version='1.0' address-size='64' path='test6.cc'>
|
||||
<class-decl name='B' size-in-bits='8' is-struct='yes' visibility='default' filepath='/home/skumari/Tasks/source_repo/dodji/libabigail/tests/data/test-read-dwarf/test6.cc' line='9' column='1' id='type-id-1'>
|
||||
<member-function access='public'>
|
||||
<function-decl name='foo' mangled-name='_ZN1B3fooEv' filepath='/home/skumari/Tasks/source_repo/dodji/libabigail/tests/data/test-read-dwarf/test6.cc' line='11' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_ZN1B3fooEv'>
|
||||
<function-decl name='foo' mangled-name='_ZN1B3fooEv' filepath='/home/skumari/Tasks/source_repo/dodji/libabigail/tests/data/test-read-dwarf/test6.cc' line='11' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN1B3fooEv'>
|
||||
<parameter type-id='type-id-2' is-artificial='yes'/>
|
||||
<return type-id='type-id-3'/>
|
||||
</function-decl>
|
||||
</member-function>
|
||||
</class-decl>
|
||||
<type-decl name='int' size-in-bits='32' alignment-in-bits='32' id='type-id-3'/>
|
||||
<pointer-type-def type-id='type-id-1' size-in-bits='64' alignment-in-bits='64' id='type-id-2'/>
|
||||
<function-decl name='bar' mangled-name='_Z3barv' filepath='/home/skumari/Tasks/source_repo/dodji/libabigail/tests/data/test-read-dwarf/test6.cc' line='19' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_Z3barv'>
|
||||
<type-decl name='int' size-in-bits='32' id='type-id-3'/>
|
||||
<pointer-type-def type-id='type-id-1' size-in-bits='64' id='type-id-2'/>
|
||||
<function-decl name='bar' mangled-name='_Z3barv' filepath='/home/skumari/Tasks/source_repo/dodji/libabigail/tests/data/test-read-dwarf/test6.cc' line='19' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_Z3barv'>
|
||||
<return type-id='type-id-3'/>
|
||||
</function-decl>
|
||||
<function-decl name='bleh' mangled-name='_Z4blehv' filepath='/home/skumari/Tasks/source_repo/dodji/libabigail/tests/data/test-read-dwarf/test6.cc' line='34' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_Z4blehv'>
|
||||
<function-decl name='bleh' mangled-name='_Z4blehv' filepath='/home/skumari/Tasks/source_repo/dodji/libabigail/tests/data/test-read-dwarf/test6.cc' line='34' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_Z4blehv'>
|
||||
<return type-id='type-id-3'/>
|
||||
</function-decl>
|
||||
<class-decl name='C<int>' size-in-bits='8' is-struct='yes' visibility='default' filepath='/home/skumari/Tasks/source_repo/dodji/libabigail/tests/data/test-read-dwarf/test6.cc' line='26' column='1' id='type-id-4'>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<elf-symbol name='_Z3fooR1S' type='func-type' binding='global-binding' is-defined='yes'/>
|
||||
</elf-function-symbols>
|
||||
<abi-instr version='1.0' address-size='64' path='test7.cc'>
|
||||
<type-decl name='int' size-in-bits='32' alignment-in-bits='32' id='type-id-1'/>
|
||||
<type-decl name='int' size-in-bits='32' id='type-id-1'/>
|
||||
<class-decl name='S' size-in-bits='2304' is-struct='yes' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='1' column='1' id='type-id-2'>
|
||||
<data-member access='public' layout-offset-in-bits='0'>
|
||||
<var-decl name='a' type-id='type-id-3' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='3' column='1'/>
|
||||
@ -24,35 +24,35 @@
|
||||
<var-decl name='f' type-id='type-id-8' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='8' column='1'/>
|
||||
</data-member>
|
||||
</class-decl>
|
||||
<array-type-def dimensions='1' type-id='type-id-1' size-in-bits='160' alignment-in-bits='32' id='type-id-3'>
|
||||
<array-type-def dimensions='1' type-id='type-id-1' size-in-bits='160' id='type-id-3'>
|
||||
<subrange length='5'/>
|
||||
</array-type-def>
|
||||
<type-decl name='char' size-in-bits='8' alignment-in-bits='8' id='type-id-9'/>
|
||||
<pointer-type-def type-id='type-id-9' size-in-bits='64' alignment-in-bits='64' id='type-id-10'/>
|
||||
<array-type-def dimensions='1' type-id='type-id-10' size-in-bits='448' alignment-in-bits='64' id='type-id-4'>
|
||||
<type-decl name='char' size-in-bits='8' id='type-id-9'/>
|
||||
<pointer-type-def type-id='type-id-9' size-in-bits='64' id='type-id-10'/>
|
||||
<array-type-def dimensions='1' type-id='type-id-10' size-in-bits='448' id='type-id-4'>
|
||||
<subrange length='7'/>
|
||||
</array-type-def>
|
||||
<type-decl name='double' size-in-bits='64' alignment-in-bits='64' id='type-id-11'/>
|
||||
<array-type-def dimensions='2' type-id='type-id-11' size-in-bits='512' alignment-in-bits='64' id='type-id-5'>
|
||||
<type-decl name='double' size-in-bits='64' id='type-id-11'/>
|
||||
<array-type-def dimensions='2' type-id='type-id-11' size-in-bits='512' id='type-id-5'>
|
||||
<subrange length='5'/>
|
||||
<subrange length='3'/>
|
||||
</array-type-def>
|
||||
<pointer-type-def type-id='type-id-1' size-in-bits='64' alignment-in-bits='64' id='type-id-12'/>
|
||||
<array-type-def dimensions='1' type-id='type-id-12' size-in-bits='256' alignment-in-bits='64' id='type-id-13'>
|
||||
<pointer-type-def type-id='type-id-1' size-in-bits='64' id='type-id-12'/>
|
||||
<array-type-def dimensions='1' type-id='type-id-12' size-in-bits='256' id='type-id-13'>
|
||||
<subrange length='4'/>
|
||||
</array-type-def>
|
||||
<pointer-type-def type-id='type-id-13' size-in-bits='64' alignment-in-bits='64' id='type-id-14'/>
|
||||
<array-type-def dimensions='1' type-id='type-id-14' size-in-bits='640' alignment-in-bits='64' id='type-id-6'>
|
||||
<pointer-type-def type-id='type-id-13' size-in-bits='64' id='type-id-14'/>
|
||||
<array-type-def dimensions='1' type-id='type-id-14' size-in-bits='640' id='type-id-6'>
|
||||
<subrange length='10'/>
|
||||
</array-type-def>
|
||||
<array-type-def dimensions='1' type-id='type-id-9' size-in-bits='8' alignment-in-bits='8' id='type-id-7'>
|
||||
<array-type-def dimensions='1' type-id='type-id-9' size-in-bits='8' id='type-id-7'>
|
||||
<subrange length='1'/>
|
||||
</array-type-def>
|
||||
<array-type-def dimensions='1' type-id='type-id-9' size-in-bits='infinite' alignment-in-bits='8' id='type-id-8'>
|
||||
<array-type-def dimensions='1' type-id='type-id-9' size-in-bits='infinite' id='type-id-8'>
|
||||
<subrange length='infinite'/>
|
||||
</array-type-def>
|
||||
<reference-type-def kind='lvalue' type-id='type-id-2' size-in-bits='64' alignment-in-bits='64' id='type-id-15'/>
|
||||
<function-decl name='foo' mangled-name='_Z3fooR1S' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='11' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_Z3fooR1S'>
|
||||
<reference-type-def kind='lvalue' type-id='type-id-2' size-in-bits='64' id='type-id-15'/>
|
||||
<function-decl name='foo' mangled-name='_Z3fooR1S' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='11' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_Z3fooR1S'>
|
||||
<parameter type-id='type-id-15'/>
|
||||
<return type-id='type-id-1'/>
|
||||
</function-decl>
|
||||
|
@ -16,22 +16,22 @@
|
||||
<var-decl name='i' type-id='type-id-2' visibility='default' filepath='/home/dodji/git/libabigail/master/tests/data/test-read-dwarf/test8-qualified-this-pointer.cc' line='3' column='1'/>
|
||||
</data-member>
|
||||
<member-function access='public' constructor='yes'>
|
||||
<function-decl name='S' filepath='/home/dodji/git/libabigail/master/tests/data/test-read-dwarf/test8-qualified-this-pointer.cc' line='5' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64'>
|
||||
<function-decl name='S' filepath='/home/dodji/git/libabigail/master/tests/data/test-read-dwarf/test8-qualified-this-pointer.cc' line='5' column='1' visibility='default' binding='global' size-in-bits='64'>
|
||||
<parameter type-id='type-id-3' is-artificial='yes'/>
|
||||
<return type-id='type-id-4'/>
|
||||
</function-decl>
|
||||
</member-function>
|
||||
<member-function access='public'>
|
||||
<function-decl name='foo' mangled-name='_ZNK1S3fooEv' filepath='/home/dodji/git/libabigail/master/tests/data/test-read-dwarf/test8-qualified-this-pointer.cc' line='10' column='1' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='64' elf-symbol-id='_ZNK1S3fooEv'>
|
||||
<function-decl name='foo' mangled-name='_ZNK1S3fooEv' filepath='/home/dodji/git/libabigail/master/tests/data/test-read-dwarf/test8-qualified-this-pointer.cc' line='10' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZNK1S3fooEv'>
|
||||
<parameter type-id='type-id-5' is-artificial='yes'/>
|
||||
<return type-id='type-id-2'/>
|
||||
</function-decl>
|
||||
</member-function>
|
||||
</class-decl>
|
||||
<type-decl name='int' size-in-bits='32' alignment-in-bits='32' id='type-id-2'/>
|
||||
<type-decl name='int' size-in-bits='32' id='type-id-2'/>
|
||||
<type-decl name='void' id='type-id-4'/>
|
||||
<pointer-type-def type-id='type-id-1' size-in-bits='64' alignment-in-bits='64' id='type-id-3'/>
|
||||
<pointer-type-def type-id='type-id-1' size-in-bits='64' id='type-id-3'/>
|
||||
<qualified-type-def type-id='type-id-1' const='yes' id='type-id-6'/>
|
||||
<pointer-type-def type-id='type-id-6' size-in-bits='64' alignment-in-bits='64' id='type-id-5'/>
|
||||
<pointer-type-def type-id='type-id-6' size-in-bits='64' id='type-id-5'/>
|
||||
</abi-instr>
|
||||
</abi-corpus>
|
||||
|
Loading…
Reference in New Issue
Block a user