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_func_id 0 19 .cv_inline_site_id 1 within 0 inlined_at 1 1 1 20 .cv_loc 0 1 7 0 is_stmt 0 # <stdin>:7:0 21# %bb.0: # %entry 22 pushl %ebp 23 movl %esp, %ebp 24 .cv_loc 1 1 4 3 # <stdin>:4:3 25 movl _x, %eax 26 addl $1, %eax 27 movl %eax, _x 28Lfunc_end0: 29 30 .comm _x,4,2 # @x 31 .section .debug$T,"dr" 32 .long 4 33 .short 6 34 .short 4609 35 .long 0 36 .short 14 37 .short 4104 38 .asciz "\003\000\000\000\000\000\000\000\000\020\000" 39 .short 12 40 .short 5633 41 .asciz "\000\000\000\000\001\020\000" 42 .byte 103 43 .byte 0 44 .short 12 45 .short 5633 46 .asciz "\000\000\000\000\001\020\000" 47 .byte 102 48 .byte 0 49 .section .debug$S,"dr" 50 .long 4 51 .long 246 # Inlinee lines subsection 52 .long Ltmp1-Ltmp0 53Ltmp0: 54 .long 0 55 .long 4099 # Inlined function f starts at <stdin>:3 56 .long 0 57 .long 3 58Ltmp1: 59 .long 241 # Symbol subsection for g 60 .long Ltmp3-Ltmp2 61Ltmp2: 62 .short Ltmp5-Ltmp4 63Ltmp4: 64 .short 4423 65 .zero 12 66 .long Lfunc_end0-_g 67 .zero 12 68 .secrel32 _g 69 .secidx _g 70 .byte 0 71 .byte 103 72 .byte 0 73Ltmp5: 74 .short Ltmp7-Ltmp6 75Ltmp6: 76 .short 4429 77 .asciz "\000\000\000\000\000\000\000\000\003\020\000" 78 .cv_inline_linetable 1 1 3 Lfunc_begin0 Lfunc_end0 79# CHECK: InlineSiteSym { 80# CHECK: PtrParent: 0x0 81# CHECK: PtrEnd: 0x0 82# CHECK: Inlinee: f (0x1003) 83# CHECK: BinaryAnnotations [ 84# CHECK: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x3, LineOffset: 1} 85# CHECK: ChangeCodeLength: 0xD 86# CHECK: ] 87# CHECK: } 88Ltmp7: 89 .short 2 90 .short 4430 91# CHECK: InlineSiteEnd { 92# CHECK: } 93 .short 2 94 .short 4431 95Ltmp3: 96 .p2align 2 97 .cv_linetable 0, _g, Lfunc_end0 98 .cv_filechecksums # File index to string table offset subsection 99 .cv_stringtable # String table 100