diff options
author | Natarajan, Kavitha <Kavitha.Natarajan@amd.com> | 2022-05-25 16:10:38 +0100 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-05-26 09:12:09 +0930 |
commit | f85c0e1e206fd539246a775121cfeece94833984 (patch) | |
tree | e1b7ccf9bb3631f8364be13ccb665d6137dee2ca /binutils/testsuite/binutils-all/dw5-op.W | |
parent | fbcda577011d73fdcf1ebf86160b6fc8ddd95299 (diff) | |
download | binutils-gdb-f85c0e1e206fd539246a775121cfeece94833984.tar.gz |
Re: Add bionutils support for DWARF v5's DW_OP_addrx
Testsuite files belonging to commit 3ac9da49378c.
Diffstat (limited to 'binutils/testsuite/binutils-all/dw5-op.W')
-rw-r--r-- | binutils/testsuite/binutils-all/dw5-op.W | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/dw5-op.W b/binutils/testsuite/binutils-all/dw5-op.W new file mode 100644 index 00000000000..544a0712275 --- /dev/null +++ b/binutils/testsuite/binutils-all/dw5-op.W @@ -0,0 +1,35 @@ +Contents of the .debug_info section: + + Compilation Unit @ offset 0x0: + Length: 0x4e \(32-bit\) + Version: 5 + Unit Type: DW_UT_compile \(1\) + Abbrev Offset: 0x0 + Pointer Size: 8 + <0><c>: Abbrev Number: 3 \(DW_TAG_compile_unit\) + <d> DW_AT_producer : \(indirect string, offset: 0xa\): GNU C11 7.0.1 20170218 \(experimental\) -mtune=generic -march=x86-64 -gdwarf-5 -O2 + <11> DW_AT_language : 29 \(C11\) + <12> DW_AT_name : \(indirect line string, offset: 0x2\): main.c + <16> DW_AT_comp_dir : \(indirect line string, offset: 0x0\): + <1a> DW_AT_ranges : 0x0 + <1e> DW_AT_low_pc : 0x0 + <26> DW_AT_stmt_list : 0x0 + <1><2a>: Abbrev Number: 1 \(DW_TAG_base_type\) + <2b> DW_AT_byte_size : 4 + <2c> DW_AT_encoding : 5 \(signed\) + <2d> DW_AT_name : \(indirect string, offset: 0x0\): main + <1><31>: Abbrev Number: 2 \(DW_TAG_variable\) + <32> DW_AT_name : \(indirect string, offset: 0x5\): xvar + <36> DW_AT_decl_file : 1 + <36> DW_AT_decl_line : 2 + <37> DW_AT_type : <0x2a> + <3b> DW_AT_external : 1 + <3b> DW_AT_location : 9 byte block: 3 (0 0 0 0 0 0 12 34|34 12 0 0 0 0 0 0) \(DW_OP_addr: 1234\) + <1><45>: Abbrev Number: 2 \(DW_TAG_variable\) + <46> DW_AT_name : \(indirect string, offset: 0x5b\): yvar + <4a> DW_AT_decl_file : 1 + <4a> DW_AT_decl_line : 3 + <4b> DW_AT_type : <0x2a> + <4f> DW_AT_external : 1 + <4f> DW_AT_location : \(DW_OP_addrx <0x0>\) + |