• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-dlltool -m i386:x86-64 --input-def %s --output-lib %t.a
2; RUN: llvm-readobj -coff-exports %t.a | FileCheck %s
3; RUN: llvm-dlltool -m arm64 --input-def %s --output-lib %t.a
4; RUN: llvm-readobj -coff-exports %t.a | FileCheck %s
5
6LIBRARY test.dll
7EXPORTS
8TestFunction1
9TestFunction2;
10TestFunction3 ; This is a comment
11
12; CHECK: File: test.dll
13; CHECK: Format: COFF-import-file
14; CHECK: Type: code
15; CHECK: Name type: name
16; CHECK: Symbol: __imp_TestFunction1
17; CHECK: Symbol: TestFunction1
18; CHECK: Symbol: __imp_TestFunction2{{$}}
19; CHECK: Symbol: TestFunction2{{$}}
20; CHECK: Symbol: __imp_TestFunction3{{$}}
21; CHECK: Symbol: TestFunction3{{$}}
22