brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 267424d Raw
37 lines · plain
1; RUN: llvm-dlltool -m i386:x86-64 --input-def %s --output-lib %t.a2; RUN: llvm-readobj %t.a | FileCheck %s --check-prefixes=CHECK,CHECK-X643; RUN: llvm-nm --print-armap %t.a | FileCheck --check-prefix=SYMTAB %s4; RUN: llvm-dlltool -m arm64 --input-def %s --output-lib %t.a5; RUN: llvm-readobj %t.a | FileCheck %s --check-prefixes=CHECK,CHECK-ARM646; RUN: llvm-nm --print-armap %t.a | FileCheck --check-prefix=SYMTAB %s7 8LIBRARY test.dll9EXPORTS10TestFunction111TestFunction2;12TestFunction3 ; This is a comment13AnotherFunction14 15; CHECK: File: test.dll16; CHECK-X64:   Format: COFF-import-file-x86-6417; CHECK-ARM64: Format: COFF-import-file-ARM6418; CHECK: Type: code19; CHECK:      Name type: name20; CHECK-NEXT: Export name: TestFunction121; CHECK-NEXT: Symbol: __imp_TestFunction122; CHECK-NEXT: Symbol: TestFunction123; CHECK:      Name type: name24; CHECK-NEXT: Export name: TestFunction225; CHECK-NEXT: Symbol: __imp_TestFunction2{{$}}26; CHECK-NEXT: Symbol: TestFunction2{{$}}27; CHECK:      Name type: name28; CHECK-NEXT: Export name: TestFunction329; CHECK-NEXT: Symbol: __imp_TestFunction3{{$}}30; CHECK-NEXT: Symbol: TestFunction3{{$}}31 32; SYMTAB: Archive map33; SYMTAB: TestFunction1 in test.dll34; SYMTAB: TestFunction2 in test.dll35; SYMTAB: TestFunction3 in test.dll36; SYMTAB: AnotherFunction in test.dll37