@@ -240,6 +240,10 @@ define dso_local void @caller() nounwind {
240
240
; CHECK-NEXT: .section .drectve,"yni"
241
241
; CHECK-NEXT: .ascii " /EXPORT:exp"
242
242
243
+ ; CHECK-NEXT: .def "EXP+#func";
244
+ ; CHECK-NEXT: .scl 2;
245
+ ; CHECK-NEXT: .type 32;
246
+ ; CHECK-NEXT: .endef
243
247
; CHECK-NEXT: .def func;
244
248
; CHECK-NEXT: .scl 2;
245
249
; CHECK-NEXT: .type 32;
@@ -252,6 +256,10 @@ define dso_local void @caller() nounwind {
252
256
; CHECK-NEXT: .type 32;
253
257
; CHECK-NEXT: .endef
254
258
; CHECK-NEXT: .set "#func", "#func$hybpatch_thunk"{{$}}
259
+ ; CHECK-NEXT: .def "EXP+#has_varargs";
260
+ ; CHECK-NEXT: .scl 2;
261
+ ; CHECK-NEXT: .type 32;
262
+ ; CHECK-NEXT: .endef
255
263
; CHECK-NEXT: .def has_varargs;
256
264
; CHECK-NEXT: .scl 2;
257
265
; CHECK-NEXT: .type 32;
@@ -264,6 +272,10 @@ define dso_local void @caller() nounwind {
264
272
; CHECK-NEXT: .type 32;
265
273
; CHECK-NEXT: .endef
266
274
; CHECK-NEXT: .set "#has_varargs", "#has_varargs$hybpatch_thunk"
275
+ ; CHECK-NEXT: .def "EXP+#has_sret";
276
+ ; CHECK-NEXT: .scl 2;
277
+ ; CHECK-NEXT: .type 32;
278
+ ; CHECK-NEXT: .endef
267
279
; CHECK-NEXT: .def has_sret;
268
280
; CHECK-NEXT: .scl 2;
269
281
; CHECK-NEXT: .type 32;
@@ -276,6 +288,10 @@ define dso_local void @caller() nounwind {
276
288
; CHECK-NEXT: .type 32;
277
289
; CHECK-NEXT: .endef
278
290
; CHECK-NEXT: .set "#has_sret", "#has_sret$hybpatch_thunk"
291
+ ; CHECK-NEXT: .def "EXP+#exp";
292
+ ; CHECK-NEXT: .scl 2;
293
+ ; CHECK-NEXT: .type 32;
294
+ ; CHECK-NEXT: .endef
279
295
; CHECK-NEXT: .def exp;
280
296
; CHECK-NEXT: .scl 2;
281
297
; CHECK-NEXT: .type 32;
@@ -295,18 +311,18 @@ define dso_local void @caller() nounwind {
295
311
; SYM: [78](sec 20)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 #exp$hybpatch_thunk
296
312
; SYM: [110](sec 0)(fl 0x00)(ty 0)(scl 69) (nx 1) 0x00000000 func
297
313
; SYM-NEXT: AUX indx 112 srch 3
298
- ; SYM-NEXT: [112](sec 0)(fl 0x00)(ty 0 )(scl 2) (nx 0) 0x00000000 EXP+#func
314
+ ; SYM-NEXT: [112](sec 0)(fl 0x00)(ty 20 )(scl 2) (nx 0) 0x00000000 EXP+#func
299
315
; SYM: [116](sec 0)(fl 0x00)(ty 0)(scl 69) (nx 1) 0x00000000 #func
300
316
; SYM-NEXT: AUX indx 53 srch 3
301
317
; SYM: [122](sec 0)(fl 0x00)(ty 0)(scl 69) (nx 1) 0x00000000 has_varargs
302
318
; SYM-NEXT: AUX indx 124 srch 3
303
- ; SYM-NEXT: [124](sec 0)(fl 0x00)(ty 0 )(scl 2) (nx 0) 0x00000000 EXP+#has_varargs
319
+ ; SYM-NEXT: [124](sec 0)(fl 0x00)(ty 20 )(scl 2) (nx 0) 0x00000000 EXP+#has_varargs
304
320
; SYM-NEXT: [125](sec 0)(fl 0x00)(ty 0)(scl 69) (nx 1) 0x00000000 has_sret
305
321
; SYM-NEXT: AUX indx 127 srch 3
306
- ; SYM-NEXT: [127](sec 0)(fl 0x00)(ty 0 )(scl 2) (nx 0) 0x00000000 EXP+#has_sret
322
+ ; SYM-NEXT: [127](sec 0)(fl 0x00)(ty 20 )(scl 2) (nx 0) 0x00000000 EXP+#has_sret
307
323
; SYM-NEXT: [128](sec 0)(fl 0x00)(ty 0)(scl 69) (nx 1) 0x00000000 exp
308
324
; SYM-NEXT: AUX indx 130 srch 3
309
- ; SYM-NEXT: [130](sec 0)(fl 0x00)(ty 0 )(scl 2) (nx 0) 0x00000000 EXP+#exp
325
+ ; SYM-NEXT: [130](sec 0)(fl 0x00)(ty 20 )(scl 2) (nx 0) 0x00000000 EXP+#exp
310
326
; SYM-NEXT: [131](sec 0)(fl 0x00)(ty 0)(scl 69) (nx 1) 0x00000000 #has_varargs
311
327
; SYM-NEXT: AUX indx 58 srch 3
312
328
; SYM-NEXT: [133](sec 0)(fl 0x00)(ty 0)(scl 69) (nx 1) 0x00000000 #has_sret
0 commit comments