1# RUN: llvm-mc -triple=i686-pc-win32 -filetype=obj < %s | llvm-readobj -codeview | FileCheck %s
2	.text
3	.def	 @feat.00;
4	.scl	3;
5	.type	0;
6	.endef
7	.globl	@feat.00
8@feat.00 = 1
9	.def	 _g;
10	.scl	2;
11	.type	32;
12	.endef
13	.globl	_g
14	.p2align	4, 0x90
15_g:                                     # @g
16Lfunc_begin0:
17	.cv_file	1 "\\usr\\local\\google\\home\\majnemer\\llvm\\src\\<stdin>"
18	.cv_loc	0 1 7 0 is_stmt 0       # <stdin>:7:0
19# BB#0:                                 # %entry
20	pushl	%ebp
21	movl	%esp, %ebp
22	.cv_loc	1 1 4 3                 # <stdin>:4:3
23	movl	_x, %eax
24	addl	$1, %eax
25	movl	%eax, _x
26Lfunc_end0:
27
28	.comm	_x,4,2                  # @x
29	.section	.debug$T,"dr"
30	.long	4
31	.short	6
32	.short	4609
33	.long	0
34	.short	14
35	.short	4104
36	.asciz	"\003\000\000\000\000\000\000\000\000\020\000"
37	.short	12
38	.short	5633
39	.asciz	"\000\000\000\000\001\020\000"
40	.byte	103
41	.byte	0
42	.short	12
43	.short	5633
44	.asciz	"\000\000\000\000\001\020\000"
45	.byte	102
46	.byte	0
47	.section	.debug$S,"dr"
48	.long	4
49	.long	246                     # Inlinee lines subsection
50	.long	Ltmp1-Ltmp0
51Ltmp0:
52	.long	0
53	.long	4099                    # Inlined function f starts at <stdin>:3
54	.long	0
55	.long	3
56Ltmp1:
57	.long	241                     # Symbol subsection for g
58	.long	Ltmp3-Ltmp2
59Ltmp2:
60	.short	Ltmp5-Ltmp4
61Ltmp4:
62	.short	4423
63	.zero	12
64	.long	Lfunc_end0-_g
65	.zero	12
66	.secrel32	_g
67	.secidx	_g
68	.byte	0
69	.byte	103
70	.byte	0
71Ltmp5:
72	.short	Ltmp7-Ltmp6
73Ltmp6:
74	.short	4429
75	.asciz	"\000\000\000\000\000\000\000\000\003\020\000"
76	.cv_inline_linetable	1 1 3 Lfunc_begin0 Lfunc_end0
77# CHECK:    InlineSite {
78# CHECK:      PtrParent: 0x0
79# CHECK:      PtrEnd: 0x0
80# CHECK:      Inlinee: f (0x1003)
81# CHECK:      BinaryAnnotations [
82# CHECK:        ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x3, LineOffset: 1}
83# CHECK:        ChangeCodeLength: 0xD
84# CHECK:      ]
85# CHECK:    }
86Ltmp7:
87	.short	2
88	.short	4430
89# CHECK:    InlineSiteEnd {
90# CHECK:    }
91	.short	2
92	.short	4431
93Ltmp3:
94	.p2align	2
95	.cv_linetable	0, _g, Lfunc_end0
96	.cv_filechecksums               # File index to string table offset subsection
97	.cv_stringtable                 # String table
98