[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / llvm / test / tools / llvm-dlltool / coff-exports.def
blobdf7f0821cc567a411e8f64ba395120fff6f77859
1 ; RUN: llvm-dlltool -m i386:x86-64 --input-def %s --output-lib %t.a
2 ; RUN: llvm-readobj %t.a | FileCheck %s
3 ; RUN: llvm-dlltool -m arm64 --input-def %s --output-lib %t.a
4 ; RUN: llvm-readobj %t.a | FileCheck %s
6 LIBRARY test.dll
7 EXPORTS
8 TestFunction1
9 TestFunction2;
10 TestFunction3 ; This is a comment
12 ; CHECK: File: test.dll
13 ; CHECK: Format: COFF-import-file
14 ; CHECK: Type: code
15 ; CHECK: Name type: name
16 ; CHECK-NEXT: Symbol: __imp_TestFunction1
17 ; CHECK-NEXT: Symbol: TestFunction1
18 ; CHECK: Name type: name
19 ; CHECK-NEXT: Symbol: __imp_TestFunction2{{$}}
20 ; CHECK-NEXT: Symbol: TestFunction2{{$}}
21 ; CHECK: Name type: name
22 ; CHECK-NEXT: Symbol: __imp_TestFunction3{{$}}
23 ; CHECK-NEXT: Symbol: TestFunction3{{$}}