1# RUN: llvm-mc -triple=x86_64-pc-win32 -filetype=obj < %s | llvm-readobj --codeview - | FileCheck %s 2 3# CHECK: InlineSiteSym { 4# CHECK: BinaryAnnotations [ 5# CHECK: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x0, LineOffset: 1} 6# CHECK: ChangeCodeLength: 0x2 7# CHECK: ] 8# CHECK: } 9 10 .text 11 .cv_file 1 "D:\\src\\llvm\\build\\t.c" 12 13 .def infloop; 14 .scl 2; 15 .type 32; 16 .endef 17 .section .text,"xr",one_only,infloop 18 .globl infloop 19 .p2align 4, 0x90 20infloop: # @infloop 21.Lfunc_begin1: 22 .cv_func_id 0 23 .cv_inline_site_id 2 within 0 inlined_at 1 1 1 24 .cv_loc 2 1 3 7 # t.c:3:7 25 jmp .Lfunc_begin1 26.Lfunc_end1: 27 28 .def afterinfloop; 29 .scl 2; 30 .type 32; 31 .endef 32 .section .text,"xr",one_only,afterinfloop 33 .globl afterinfloop 34 .p2align 4, 0x90 35afterinfloop: # @afterinfloop 36 .cv_func_id 3 37 .cv_loc 3 1 13 0 # t.c:13:0 38 retq 39 40 .section .debug$S,"dr" 41 .long 4 42 .long 241 # Symbol subsection for infloop 43 .long .Ltmp17-.Ltmp16 # Subsection size 44.Ltmp16: 45 .short .Ltmp19-.Ltmp18 # Record length 46.Ltmp18: 47 .short 4423 # Record kind: S_GPROC32_ID 48 .long 0 # PtrParent 49 .long 0 # PtrEnd 50 .long 0 # PtrNext 51 .long .Lfunc_end1-infloop # Code size 52 .long 0 # Offset after prologue 53 .long 0 # Offset before epilogue 54 .long 0 # Function type index 55 .secrel32 infloop # Function section relative address 56 .secidx infloop # Function section index 57 .byte 0 # Flags 58 .asciz "infloop" # Function name 59.Ltmp19: 60 .short .Ltmp21-.Ltmp20 # Record length 61.Ltmp20: 62 .short 4429 # Record kind: S_INLINESITE 63 .long 0 # PtrParent 64 .long 0 # PtrEnd 65 .long 4098 # Inlinee type index 66 .cv_inline_linetable 2 1 2 .Lfunc_begin1 .Lfunc_end1 67.Ltmp21: 68 .short 2 # Record length 69 .short 4430 # Record kind: S_INLINESITE_END 70 .short 2 # Record length 71 .short 4431 # Record kind: S_PROC_ID_END 72.Ltmp17: 73 .p2align 2 74 .cv_linetable 1, infloop, .Lfunc_end1 75