aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/Inputs/gdb-index-multiple-cu-2.s
blob: 80c738eab1ff3161302086f2d46afa408739c793 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.globl _start
_start:

.section .debug_abbrev,"",@progbits
	.byte	1              # Abbreviation Code
	.byte	17             # DW_TAG_compile_unit
	.byte	1              # DW_CHILDREN_yes
	.ascii	"\264B"        # DW_AT_GNU_pubnames
	.byte	25             # DW_FORM_flag_present
	.byte	0              # EOM(1)
	.byte	0              # EOM(2)
	.byte	2              # Abbreviation Code
	.byte	46             # DW_TAG_subprogram
	.byte	0              # DW_CHILDREN_no
	.byte	3              # DW_AT_name
	.byte	8              # DW_FORM_string
	.byte	0              # EOM(1)
	.byte	0              # EOM(2)
	.byte	0

.section .debug_info,"",@progbits
.Lcu_begin0:
	.long	.Lcu_end0 - .Lcu_begin0 - 4
	.short	4              # DWARF version number
	.long	0              # Offset Into Abbrev. Section
	.byte	4              # Address Size
.Ldie:
	.byte	1              # Abbrev [1] DW_TAG_compile_unit
	.byte	2              # Abbrev [2] DW_TAG_subprogram
	.asciz	"_start"       # DW_AT_name
	.byte	0
.Lcu_end0:

# .debug_gnu_pubnames has just one set, associated with .Lcu_begin1 (CuIndex: 1)
.section .debug_gnu_pubnames,"",@progbits
	.long	.LpubNames_end0 - .LpubNames_begin0
.LpubNames_begin0:
	.short	2              # Version
	.long	.Lcu_begin0    # CU Offset
	.long	.Lcu_end0 - .Lcu_begin0
	.long	.Ldie - .Lcu_begin0
	.byte	48             # Attributes: FUNCTION, EXTERNAL
	.asciz	"_start"       # External Name
	.long	0
.LpubNames_end0: