blob: 4fcafd2d268dfe5356f63d0cd369c899620fb3e4 [file] [log] [blame]
David Majnemer8b68a6c2016-01-30 00:36:09 +00001# RUN: llvm-mc -filetype=obj -triple i686-pc-win32 < %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 _f;
10 .scl 2;
11 .type 32;
12 .endef
13 .globl _f
14 .p2align 4, 0x90
15_f: # @f
16Lfunc_begin0:
17# BB#0: # %entry
18 .cv_file 1 "cv-empty-linetable.s"
19 .cv_loc 1 1 3 15 is_stmt 0
20 jmp _g # TAILCALL
21Lfunc_end0:
22
23 .section .debug$T,"dr"
24 .long 4
25 .short 6
26 .short 4609
27 .long 0
28 .short 14
29 .short 4104
30 .asciz "\003\000\000\000\000\000\000\000\000\020\000"
31 .short 14
32 .short 5633
33 .asciz "\000\000\000\000\001\020\000"
34 .ascii "fn1"
35 .byte 0
36 .short 38
37 .short 5633
38 .asciz "\000\000\000\000\001\020\000"
39 .ascii "??__Fa@?1??fn1@@YAXXZ@YAXXZ"
40 .byte 0
41 .short 26
42 .short 5633
43 .asciz "\000\000\000\000\001\020\000"
44 .ascii "vector::~vector"
45 .byte 0
46 .section .debug$S,"dr"
47 .long 4
48 .long 241 # Symbol subsection for f
49 .long Ltmp1-Ltmp0
50Ltmp0:
51 .short Ltmp3-Ltmp2
52Ltmp2:
53 .short 4423
54 .zero 12
55 .long Lfunc_end0-_f
56 .zero 12
57 .secrel32 _f
58 .secidx _f
59 .byte 0
60 .byte 102
61 .byte 0
62Ltmp3:
63 .short Ltmp5-Ltmp4
64Ltmp4:
65 .short 4429
66 .asciz "\000\000\000\000\000\000\000\000\004\020\000"
67Ltmp5:
68 .short 2
69 .short 4430
70 .short 2
71 .short 4431
72Ltmp1:
73 .zero 3
74 .cv_linetable 0, _f, Lfunc_end0
75 .cv_filechecksums # File index to string table offset subsection
76 .cv_stringtable # String table
77
78# CHECK: FunctionLineTable [
79# CHECK: LinkageName: _f
80# CHECK: Flags: 0x0
81# CHECK: CodeSize: 0x5
82# CHECK: ]