brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.2 KiB · 9730475 Raw
99 lines · plain
1# RUN: llvm-mc -triple=i686-pc-win32 -filetype=obj < %s | llvm-readobj --codeview --codeview-subsection-bytes - | FileCheck %s2	.text3	.def	 @feat.00;4	.scl	3;5	.type	0;6	.endef7	.globl	@feat.008@feat.00 = 19	.def	 _g;10	.scl	2;11	.type	32;12	.endef13	.globl	_g14	.p2align	4, 0x9015_g:                                     # @g16Lfunc_begin0:17	.cv_file	1 "\\usr\\local\\google\\home\\majnemer\\llvm\\src\\<stdin>"18	.cv_func_id 019	.cv_loc	0 1 3 0 is_stmt 0       # <stdin>:3:020# %bb.0:                                # %entry21	pushl	%ebp22	movl	%esp, %ebp23	subl	$8, %esp24	leal	-4(%ebp), %eax25Lvar_begin0:26	#DEBUG_VALUE: g:x <- %eax27	.cv_loc	0 1 4 7                 # <stdin>:4:728	movl	$0, -4(%ebp)29	.cv_loc	0 1 5 3                 # <stdin>:5:330	movl	%eax, (%esp)31	calll	_f32	.cv_loc	0 1 6 1                 # <stdin>:6:133Lvar_end0:34	addl	$8, %esp35	popl	%ebp36	retl37Lfunc_end0:38 39	.section	.debug$T,"dr"40	.long	4                       # Debug section magic41	.short	6                       # Type record length42	.short	4609                    # Leaf type: LF_ARGLIST43	.long	0                       # Number of arguments44	.short	14                      # Type record length45	.short	4104                    # Leaf type: LF_PROCEDURE46	.long	3                       # Return type index47	.byte	0                       # Calling convention48	.byte	0                       # Function options49	.short	0                       # # of parameters50	.long	4096                    # Argument list type index51	.short	12                      # Type record length52	.short	5633                    # Leaf type: LF_FUNC_ID53	.long	0                       # Scope type index54	.long	4097                    # Function type55	.asciz	"g"                     # Function name56	.section	.debug$S,"dr"57	.long	4                       # Debug section magic58	.long	241                     # Symbol subsection for g59	.long	Ltmp1-Ltmp0             # Subsection size60Ltmp0:61	.short	Ltmp3-Ltmp2             # Record length62Ltmp2:63	.short	4423                    # Record kind: S_GPROC32_ID64	.long	0                       # PtrParent65	.long	0                       # PtrEnd66	.long	0                       # PtrNext67	.long	Lfunc_end0-_g           # Code size68	.long	0                       # Offset after prologue69	.long	0                       # Offset before epilogue70	.long	0                       # Function type index71	.secrel32	_g              # Function section relative address72	.secidx	_g                      # Function section index73	.byte	0                       # Flags74	.asciz	"g"                     # Function name75Ltmp3:76	.short	2                       # Record length77	.short	4431                    # Record kind: S_PROC_ID_END78	.cv_def_range	Lvar_begin0 Lvar_end0, frame_ptr_rel, -479 80# CHECK:    DefRangeFramePointerRelSym {81# CHECK:      Offset: -482# CHECK:      LocalVariableAddrRange {83# CHECK:        OffsetStart: .text+0x984# CHECK:        ISectStart: 0x085# CHECK:        Range: 0xF86# CHECK:      }87# CHECK:      BlockRelocations [88# CHECK:        0x4 IMAGE_REL_I386_SECREL .text89# CHECK:        0x8 IMAGE_REL_I386_SECTION .text90# CHECK:      ]91# CHECK:    }92 93Ltmp1:94	.p2align	295	.cv_linetable	0, _g, Lfunc_end096	.cv_filechecksums               # File index to string table offset subsection97	.cv_stringtable                 # String table98 99