Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / i386 / dw2-compress-1.d
1 #as: --compress-debug-sections
2 #readelf: -w
3 #name: DWARF2 debugging information 1
4
5 Contents of the .zdebug_info section:
6
7   Compilation Unit @ offset 0x0:
8    Length:        0x4e \(32-bit\)
9    Version:       2
10    Abbrev Offset: 0
11    Pointer Size:  4
12  <0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
13     < c>   DW_AT_stmt_list   : 0x0      
14     <10>   DW_AT_high_pc     : 0x4      
15     <14>   DW_AT_low_pc      : 0x0      
16     <18>   DW_AT_name        : file1.txt        
17     <22>   DW_AT_producer    : GNU C 3.3.3      
18     <2e>   DW_AT_language    : 1        \(ANSI C\)
19  <1><2f>: Abbrev Number: 2 \(DW_TAG_subprogram\)
20     <30>   DW_AT_external    : 1        
21     <31>   DW_AT_decl_file   : 1        
22     <32>   DW_AT_decl_line   : 2        
23     <33>   DW_AT_name        : func_cu1 
24     <3c>   DW_AT_type        : <0x4a>   
25     <40>   DW_AT_low_pc      : 0x0      
26     <44>   DW_AT_high_pc     : 0x4      
27     <48>   DW_AT_frame_base  : 1 byte block: 55         \(DW_OP_reg5 \([^()]*\)\)
28  <1><4a>: Abbrev Number: 3 \(DW_TAG_base_type\)
29     <4b>   DW_AT_name        : int      
30     <4f>   DW_AT_byte_size   : 4        
31     <50>   DW_AT_encoding    : 5        \(signed\)
32
33 Contents of the .zdebug_abbrev section:
34
35   Number TAG
36    1      DW_TAG_compile_unit    \[has children\]
37     DW_AT_stmt_list    DW_FORM_data4
38     DW_AT_high_pc      DW_FORM_addr
39     DW_AT_low_pc       DW_FORM_addr
40     DW_AT_name         DW_FORM_string
41     DW_AT_producer     DW_FORM_string
42     DW_AT_language     DW_FORM_data1
43    2      DW_TAG_subprogram    \[no children\]
44     DW_AT_external     DW_FORM_flag
45     DW_AT_decl_file    DW_FORM_data1
46     DW_AT_decl_line    DW_FORM_data1
47     DW_AT_name         DW_FORM_string
48     DW_AT_type         DW_FORM_ref4
49     DW_AT_low_pc       DW_FORM_addr
50     DW_AT_high_pc      DW_FORM_addr
51     DW_AT_frame_base   DW_FORM_block1
52    3      DW_TAG_base_type    \[no children\]
53     DW_AT_name         DW_FORM_string
54     DW_AT_byte_size    DW_FORM_data1
55     DW_AT_encoding     DW_FORM_data1
56
57 Raw dump of debug contents of section .zdebug_line:
58
59   Offset:                      0x0
60   Length:                      62
61   DWARF Version:               2
62   Prologue Length:             35
63   Minimum Instruction Length:  1
64   Initial value of 'is_stmt':  1
65   Line Base:                   1
66   Line Range:                  1
67   Opcode Base:                 16
68
69  Opcodes:
70   Opcode 1 has 0 args
71   Opcode 2 has 1 args
72   Opcode 3 has 1 args
73   Opcode 4 has 1 args
74   Opcode 5 has 1 args
75   Opcode 6 has 0 args
76   Opcode 7 has 0 args
77   Opcode 8 has 0 args
78   Opcode 9 has 1 args
79   Opcode 10 has 0 args
80   Opcode 11 has 0 args
81   Opcode 12 has 1 args
82   Opcode 13 has 0 args
83   Opcode 14 has 0 args
84   Opcode 15 has 0 args
85
86  The Directory Table is empty.
87
88  The File Name Table:
89   Entry Dir     Time    Size    Name
90   1     0       0       0       file1.txt
91
92  Line Number Statements:
93   Extended opcode 2: set Address to 0x0
94   Advance Line by 3 to 4
95   Copy
96   Copy
97   Extended opcode 2: set Address to 0x4
98   Extended opcode 1: End of Sequence
99
100