aboutsummaryrefslogtreecommitdiff
path: root/test/MC/COFF/cv-inline-linetable-infloop.s
blob: 6b8e708befc4eb03f214c5911230db928d5471e8 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# RUN: llvm-mc -triple=x86_64-pc-win32 -filetype=obj < %s | llvm-readobj -codeview | FileCheck %s

# CHECK:    InlineSiteSym {
# CHECK:      BinaryAnnotations [
# CHECK:        ChangeLineOffset: 1
# CHECK:        ChangeCodeLength: 0x2
# CHECK:      ]
# CHECK:    }

	.text
	.cv_file	1 "D:\\src\\llvm\\build\\t.c"

	.def	 infloop;
	.scl	2;
	.type	32;
	.endef
	.section	.text,"xr",one_only,infloop
	.globl	infloop
	.p2align	4, 0x90
infloop:                                    # @infloop
.Lfunc_begin1:
	.cv_func_id 0
	.cv_inline_site_id 2 within 0 inlined_at 1 1 1
	.cv_loc	2 1 3 7                 # t.c:3:7
	jmp	.Lfunc_begin1
.Lfunc_end1:

	.def	 afterinfloop;
	.scl	2;
	.type	32;
	.endef
	.section	.text,"xr",one_only,afterinfloop
	.globl	afterinfloop
	.p2align	4, 0x90
afterinfloop:                                    # @afterinfloop
	.cv_func_id 3
	.cv_loc	3 1 13 0                # t.c:13:0
	retq

	.section	.debug$S,"dr"
	.long 4
	.long	241                     # Symbol subsection for infloop
	.long	.Ltmp17-.Ltmp16         # Subsection size
.Ltmp16:
	.short	.Ltmp19-.Ltmp18         # Record length
.Ltmp18:
	.short	4423                    # Record kind: S_GPROC32_ID
	.long	0                       # PtrParent
	.long	0                       # PtrEnd
	.long	0                       # PtrNext
	.long	.Lfunc_end1-infloop         # Code size
	.long	0                       # Offset after prologue
	.long	0                       # Offset before epilogue
	.long	0                       # Function type index
	.secrel32	infloop             # Function section relative address
	.secidx	infloop                     # Function section index
	.byte	0                       # Flags
	.asciz	"infloop"                   # Function name
.Ltmp19:
	.short	.Ltmp21-.Ltmp20         # Record length
.Ltmp20:
	.short	4429                    # Record kind: S_INLINESITE
	.long	0                       # PtrParent
	.long	0                       # PtrEnd
	.long	4098                    # Inlinee type index
	.cv_inline_linetable	2 1 2 .Lfunc_begin1 .Lfunc_end1
.Ltmp21:
	.short	2                       # Record length
	.short	4430                    # Record kind: S_INLINESITE_END
	.short	2                       # Record length
	.short	4431                    # Record kind: S_PROC_ID_END
.Ltmp17:
	.p2align	2
	.cv_linetable	1, infloop, .Lfunc_end1