Home | History | Annotate | Download | only in COFF
      1 # RUN: llvm-mc -triple=x86_64-pc-win32 -filetype=obj < %s | llvm-readobj -codeview | FileCheck %s
      2 
      3 # CHECK:    InlineSite {
      4 # CHECK:      BinaryAnnotations [
      5 # CHECK:        ChangeLineOffset: 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
     20 infloop:                                    # @infloop
     21 .Lfunc_begin1:
     22 	.cv_loc	2 1 3 7                 # t.c:3:7
     23 	jmp	.Lfunc_begin1
     24 .Lfunc_end1:
     25 
     26 	.def	 afterinfloop;
     27 	.scl	2;
     28 	.type	32;
     29 	.endef
     30 	.section	.text,"xr",one_only,afterinfloop
     31 	.globl	afterinfloop
     32 	.p2align	4, 0x90
     33 afterinfloop:                                    # @afterinfloop
     34 	.cv_loc	3 1 13 0                # t.c:13:0
     35 	retq
     36 
     37 	.section	.debug$S,"dr"
     38 	.long 4
     39 	.long	241                     # Symbol subsection for infloop
     40 	.long	.Ltmp17-.Ltmp16         # Subsection size
     41 .Ltmp16:
     42 	.short	.Ltmp19-.Ltmp18         # Record length
     43 .Ltmp18:
     44 	.short	4423                    # Record kind: S_GPROC32_ID
     45 	.long	0                       # PtrParent
     46 	.long	0                       # PtrEnd
     47 	.long	0                       # PtrNext
     48 	.long	.Lfunc_end1-infloop         # Code size
     49 	.long	0                       # Offset after prologue
     50 	.long	0                       # Offset before epilogue
     51 	.long	0                       # Function type index
     52 	.secrel32	infloop             # Function section relative address
     53 	.secidx	infloop                     # Function section index
     54 	.byte	0                       # Flags
     55 	.asciz	"infloop"                   # Function name
     56 .Ltmp19:
     57 	.short	.Ltmp21-.Ltmp20         # Record length
     58 .Ltmp20:
     59 	.short	4429                    # Record kind: S_INLINESITE
     60 	.long	0                       # PtrParent
     61 	.long	0                       # PtrEnd
     62 	.long	4098                    # Inlinee type index
     63 	.cv_inline_linetable	2 1 2 .Lfunc_begin1 .Lfunc_end1
     64 .Ltmp21:
     65 	.short	2                       # Record length
     66 	.short	4430                    # Record kind: S_INLINESITE_END
     67 	.short	2                       # Record length
     68 	.short	4431                    # Record kind: S_PROC_ID_END
     69 .Ltmp17:
     70 	.p2align	2
     71 	.cv_linetable	1, infloop, .Lfunc_end1
     72