28 lines · plain
1;; Don't make symlinks on Windows.2; UNSUPPORTED: system-windows3 4; RUN: rm -rf %t5; RUN: mkdir %t6; RUN: ln -s llvm-dlltool %t/i686-w64-mingw32-llvm-dlltool-10.0.exe7; RUN: ln -s llvm-dlltool %t/x86_64-w64-mingw32-llvm-dlltool-108; RUN: ln -s llvm-dlltool %t/armv7-w64-mingw32-dlltool9; RUN: ln -s llvm-dlltool %t/aarch64-w64-mingw32-DLLTOOL.exe10 11; RUN: %t/i686-w64-mingw32-llvm-dlltool-10.0.exe -d %s -l %t.a12; RUN: llvm-readobj %t.a | FileCheck --check-prefix=I386 %s13; RUN: %t/x86_64-w64-mingw32-llvm-dlltool-10 -d %s -l %t.a14; RUN: llvm-readobj %t.a | FileCheck --check-prefix=X86_64 %s15; RUN: %t/armv7-w64-mingw32-dlltool -d %s -l %t.a16; RUN: llvm-readobj %t.a | FileCheck --check-prefix=ARM %s17; RUN: %t/aarch64-w64-mingw32-DLLTOOL.exe -d %s -l %t.a18; RUN: llvm-readobj %t.a | FileCheck --check-prefix=ARM64 %s19 20LIBRARY test.dll21EXPORTS22TestFunction23 24; I386: Format: COFF-i38625; X86_64: Format: COFF-x86-6426; ARM: Format: COFF-ARM{{$}}27; ARM64: Format: COFF-ARM6428