mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
04914e3707
* dwarf.c (read_and_display_attr_value): Handle DW_AT_endianity, DW_END_default, DW_END_big, DW_END_little, DW_ATE_UCS, DW_ATE_ASCII, DW_CC_pass_by_reference, DW_CC_pass_by_value, DW_CC_GNU_renesas_sh, DW_CC_GNU_borland_fastcall_i386, DW_AT_decimal_sign, DW_AT_defaulted, DW_AT_discr_list. (get_TAG_name): Report user generated tag values. * testsuite/binutils-all/dwarf-attributes.S: New test. * testsuite/binutils-all/dwarf-attributes.W. Expected output from readelf. * testsuite/binutils-all/readelf.exp: Run the new test.
50 lines
2.2 KiB
Plaintext
50 lines
2.2 KiB
Plaintext
Contents of the .debug_info section:
|
|
|
|
Compilation Unit @ offset 0x0:
|
|
Length: 0x36 \(32-bit\)
|
|
Version: 5
|
|
Abbrev Offset: 0x0
|
|
Pointer Size: 4
|
|
<0><c>: Abbrev Number: 1 \(User TAG value: 0x5555\)
|
|
<d> DW_AT_ordering : 1 \(column major\)
|
|
<e> DW_AT_language : 1 \(ANSI C\)
|
|
<10> DW_AT_visibility : 1 \(local\)
|
|
<11> DW_AT_inline : 1 \(inlined\)
|
|
<12> DW_AT_accessibility: 1 \(public\)
|
|
<13> DW_AT_calling_convention: 1 \(normal\)
|
|
<14> DW_AT_discr_list : 1 \(range\)
|
|
<15> DW_AT_encoding : 1 \(machine address\)
|
|
<16> DW_AT_identifier_case: 1 \(up_case\)
|
|
<17> DW_AT_virtuality : 1 \(virtual\)
|
|
<18> DW_AT_decimal_sign: 1 \(unsigned\)
|
|
<19> DW_AT_endianity : 1 \(big\)
|
|
<1a> DW_AT_defaulted : 1 \(in class\)
|
|
<0><1b>: Abbrev Number: 1 \(User TAG value: 0x5555\)
|
|
<1c> DW_AT_ordering : 0 \(row major\)
|
|
<1d> DW_AT_language : 22 \(Go\)
|
|
<1f> DW_AT_visibility : 2 \(exported\)
|
|
<20> DW_AT_inline : 0 \(not inlined\)
|
|
<21> DW_AT_accessibility: 2 \(protected\)
|
|
<22> DW_AT_calling_convention: 5 \(pass by value\)
|
|
<23> DW_AT_discr_list : 0 \(label\)
|
|
<24> DW_AT_encoding : 18 \(ASCII\)
|
|
<25> DW_AT_identifier_case: 0 \(case_sensitive\)
|
|
<26> DW_AT_virtuality : 0 \(none\)
|
|
<27> DW_AT_decimal_sign: 2 \(leading overpunch\)
|
|
<28> DW_AT_endianity : 0 \(default\)
|
|
<29> DW_AT_defaulted : 0 \(no\)
|
|
<0><2a>: Abbrev Number: 1 \(User TAG value: 0x5555\)
|
|
<2b> DW_AT_ordering : 255 \(undefined\)
|
|
<2c> DW_AT_language : 32769 \(MIPS assembler\)
|
|
<2e> DW_AT_visibility : 3 \(qualified\)
|
|
<2f> DW_AT_inline : 3 \(declared as inline and inlined\)
|
|
<30> DW_AT_accessibility: 3 \(private\)
|
|
<31> DW_AT_calling_convention: 64 \(Rensas SH\)
|
|
<32> DW_AT_discr_list : 1 \(range\)
|
|
<33> DW_AT_encoding : 129 \(HP_complex_float80\)
|
|
<34> DW_AT_identifier_case: 3 \(case_insensitive\)
|
|
<35> DW_AT_virtuality : 2 \(pure_virtual\)
|
|
<36> DW_AT_decimal_sign: 5 \(trailing separate\)
|
|
<37> DW_AT_endianity : 80 \(user specified\)
|
|
<38> DW_AT_defaulted : 2 \(out of class\)
|