Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-dlltool / no-leading-underscore.def
blob6b78e15d2b5f695cd2c8790187caf5e73bd2f7a2
1 ; RUN: llvm-dlltool -k -m i386 --input-def %s --output-lib %t.a --no-leading-underscore --kill-at
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
7 func
8 alias == func
9 DecoratedFunction@4
11 ; CHECK: Name type: name
12 ; CHECK-NEXT: Symbol: __imp_func
13 ; CHECK-NEXT: Symbol: func
14 ; CHECK: Name type: undecorate
15 ; CHECK-NEXT: Symbol: __imp_DecoratedFunction@4
16 ; CHECK-NEXT: Symbol: DecoratedFunction@4
18 ; CHECK-NM: W alias
19 ; CHECK-NM: U func