205 lines · plain
1 .text2 .def @feat.00;3 .scl 3;4 .type 0;5 .endef6 .globl @feat.007.set @feat.00, 08 .file "t2.cpp"9 .def "?foobar@@YAHXZ";10 .scl 2;11 .type 32;12 .endef13 .globl "?foobar@@YAHXZ" # -- Begin function ?foobar@@YAHXZ14 .p2align 4, 0x9015"?foobar@@YAHXZ": # @"?foobar@@YAHXZ"16.Lfunc_begin0:17 .cv_func_id 018# %bb.0: # %entry19 .cv_file 1 "C:\\src\\testing\\t2.cpp" "C9D7AF07363FDE8EC16D73EC30039C5B" 120 .cv_loc 0 1 5 0 # t2.cpp:5:021 movl $84, %eax22 retq23.Ltmp0:24.Lfunc_end0:25 # -- End function26 .section .debug$S,"dr"27 .p2align 228 .long 4 # Debug section magic29 .long 24130 .long .Ltmp2-.Ltmp1 # Subsection size31.Ltmp1:32 .short .Ltmp4-.Ltmp3 # Record length33.Ltmp3:34 .short 4412 # Record kind: S_COMPILE335 .long 1 # Flags and language36 .short 208 # CPUType37 .short 9 # Frontend version38 .short 039 .short 040 .short 041 .short 9000 # Backend version42 .short 043 .short 044 .short 045 .asciz "clang version 9.0.0 (https://github.com/llvm/llvm-project.git ad522e17b285b1f2667163d52da5abf0968ec650)" # Null-terminated compiler version string46 .p2align 247.Ltmp4:48.Ltmp2:49 .p2align 250 .long 241 # Symbol subsection for foobar51 .long .Ltmp6-.Ltmp5 # Subsection size52.Ltmp5:53 .short .Ltmp8-.Ltmp7 # Record length54.Ltmp7:55 .short 4423 # Record kind: S_GPROC32_ID56 .long 0 # PtrParent57 .long 0 # PtrEnd58 .long 0 # PtrNext59 .long .Lfunc_end0-"?foobar@@YAHXZ" # Code size60 .long 0 # Offset after prologue61 .long 0 # Offset before epilogue62 .long 4098 # Function type index63 .secrel32 "?foobar@@YAHXZ" # Function section relative address64 .secidx "?foobar@@YAHXZ" # Function section index65 .byte 0 # Flags66 .asciz "foobar" # Function name67 .p2align 268.Ltmp8:69 .short .Ltmp10-.Ltmp9 # Record length70.Ltmp9:71 .short 4114 # Record kind: S_FRAMEPROC72 .long 0 # FrameSize73 .long 0 # Padding74 .long 0 # Offset of padding75 .long 0 # Bytes of callee saved registers76 .long 0 # Exception handler offset77 .short 0 # Exception handler section78 .long 0 # Flags (defines frame register)79 .p2align 280.Ltmp10:81 .short 2 # Record length82 .short 4431 # Record kind: S_PROC_ID_END83.Ltmp6:84 .p2align 285 .cv_linetable 0, "?foobar@@YAHXZ", .Lfunc_end086 .long 241 # Symbol subsection for globals87 .long .Ltmp12-.Ltmp11 # Subsection size88.Ltmp11:89 .short .Ltmp14-.Ltmp13 # Record length90.Ltmp13:91 .short 4359 # Record kind: S_CONSTANT92 .long 4099 # Type93 .byte 0x2a, 0x00 # Value94 .asciz "Foo" # Name95 .p2align 296.Ltmp14:97 .short .Ltmp16-.Ltmp15 # Record length98.Ltmp15:99 .short 4359 # Record kind: S_CONSTANT100 .long 4099 # Type101 .byte 0x2a, 0x00 # Value102 .asciz "Bar" # Name103 .p2align 2104.Ltmp16:105.Ltmp12:106 .p2align 2107 .cv_filechecksums # File index to string table offset subsection108 .cv_stringtable # String table109 .long 241110 .long .Ltmp18-.Ltmp17 # Subsection size111.Ltmp17:112 .short .Ltmp20-.Ltmp19 # Record length113.Ltmp19:114 .short 4428 # Record kind: S_BUILDINFO115 .long 4102 # LF_BUILDINFO index116 .p2align 2117.Ltmp20:118.Ltmp18:119 .p2align 2120 .section .debug$T,"dr"121 .p2align 2122 .long 4 # Debug section magic123 # ArgList (0x1000) {124 # TypeLeafKind: LF_ARGLIST (0x1201)125 # NumArgs: 0126 # Arguments [127 # ]128 # }129 .byte 0x06, 0x00, 0x01, 0x12130 .byte 0x00, 0x00, 0x00, 0x00131 # Procedure (0x1001) {132 # TypeLeafKind: LF_PROCEDURE (0x1008)133 # ReturnType: int (0x74)134 # CallingConvention: NearC (0x0)135 # FunctionOptions [ (0x0)136 # ]137 # NumParameters: 0138 # ArgListType: () (0x1000)139 # }140 .byte 0x0e, 0x00, 0x08, 0x10141 .byte 0x74, 0x00, 0x00, 0x00142 .byte 0x00, 0x00, 0x00, 0x00143 .byte 0x00, 0x10, 0x00, 0x00144 # FuncId (0x1002) {145 # TypeLeafKind: LF_FUNC_ID (0x1601)146 # ParentScope: 0x0147 # FunctionType: int () (0x1001)148 # Name: foobar149 # }150 .byte 0x12, 0x00, 0x01, 0x16151 .byte 0x00, 0x00, 0x00, 0x00152 .byte 0x01, 0x10, 0x00, 0x00153 .byte 0x66, 0x6f, 0x6f, 0x62154 .byte 0x61, 0x72, 0x00, 0xf1155 # Modifier (0x1003) {156 # TypeLeafKind: LF_MODIFIER (0x1001)157 # ModifiedType: int (0x74)158 # Modifiers [ (0x1)159 # Const (0x1)160 # ]161 # }162 .byte 0x0a, 0x00, 0x01, 0x10163 .byte 0x74, 0x00, 0x00, 0x00164 .byte 0x01, 0x00, 0xf2, 0xf1165 # StringId (0x1004) {166 # TypeLeafKind: LF_STRING_ID (0x1605)167 # Id: 0x0168 # StringData: C:\src\testing169 # }170 .byte 0x16, 0x00, 0x05, 0x16171 .byte 0x00, 0x00, 0x00, 0x00172 .byte 0x43, 0x3a, 0x5c, 0x73173 .byte 0x72, 0x63, 0x5c, 0x74174 .byte 0x65, 0x73, 0x74, 0x69175 .byte 0x6e, 0x67, 0x00, 0xf1176 # StringId (0x1005) {177 # TypeLeafKind: LF_STRING_ID (0x1605)178 # Id: 0x0179 # StringData: t2.cpp180 # }181 .byte 0x0e, 0x00, 0x05, 0x16182 .byte 0x00, 0x00, 0x00, 0x00183 .byte 0x74, 0x32, 0x2e, 0x63184 .byte 0x70, 0x70, 0x00, 0xf1185 # BuildInfo (0x1006) {186 # TypeLeafKind: LF_BUILDINFO (0x1603)187 # NumArgs: 5188 # Arguments [189 # ArgType: C:\src\testing (0x1004)190 # ArgType: 0x0191 # ArgType: t2.cpp (0x1005)192 # ArgType: 0x0193 # ArgType: 0x0194 # ]195 # }196 .byte 0x1a, 0x00, 0x03, 0x16197 .byte 0x05, 0x00, 0x04, 0x10198 .byte 0x00, 0x00, 0x00, 0x00199 .byte 0x00, 0x00, 0x05, 0x10200 .byte 0x00, 0x00, 0x00, 0x00201 .byte 0x00, 0x00, 0x00, 0x00202 .byte 0x00, 0x00, 0xf2, 0xf1203 204 .addrsig205