[libc] Switch to using the generic `<gpuintrin.h>` implementations (#121810)
[llvm-project.git] / llvm / test / tools / llvm-dlltool / renaming.def
blob57fd472aa37cf77e8297f53c2bf9840f16004fdf
1 ; RUN: llvm-dlltool -k -m i386 --input-def %s --output-lib %t.a
2 ; RUN: llvm-readobj %t.a | FileCheck %s
3 ; RUN: llvm-nm %t.a | FileCheck %s -check-prefix=CHECK-NM
5 LIBRARY test.dll
6 EXPORTS
8 symbolname == actualimport
10 dataname DATA == actualdata
12 _wcstok == wcstok
13 wcstok == wcstok_s
15 ; CHECK-NM-NOT: actualimport
16 ; CHECK-NM-NOT: actualdata
18 ; CHECK: Type: code
19 ; CHECK-NEXT: Name type: export as
20 ; CHECK-NEXT: Export name: actualimport
21 ; CHECK-NEXT: Symbol: __imp__symbolname
22 ; CHECK-NEXT: Symbol: _symbolname
24 ; CHECK: Type: data
25 ; CHECK-NEXT: Name type: export as
26 ; CHECK-NEXT: Export name: actualdata
27 ; CHECK-NEXT: Symbol: __imp__dataname
29 ; CHECK: Type: code
30 ; CHECK-NEXT: Name type: export as
31 ; CHECK-NEXT: Export name: wcstok
32 ; CHECK-NEXT: Symbol: __imp___wcstok
33 ; CHECK-NEXT: Symbol: __wcstok
35 ; CHECK: Type: code
36 ; CHECK-NEXT: Name type: export as
37 ; CHECK-NEXT: Export name: wcstok_s
38 ; CHECK-NEXT: Symbol: __imp__wcstok
39 ; CHECK-NEXT: Symbol: _wcstok