Home | History | Annotate | Download | only in Driver
      1 // RUN: %clang -### -target i686-pc-windows-gnu --sysroot=%S/Inputs/mingw_clang_tree/mingw32 %s 2>&1 | FileCheck -check-prefix=CHECK_LD_32 %s
      2 // CHECK_LD_32: ld{{(.exe)?}}"
      3 // CHECK_LD_32: "i386pe"
      4 // CHECK_LD_32-NOT: "-flavor" "gnu"
      5 
      6 // RUN: %clang -### -target i686-pc-windows-gnu --sysroot=%S/Inputs/mingw_clang_tree/mingw32 %s -fuse-ld=lld 2>&1 | FileCheck -check-prefix=CHECK_LLD_32 %s
      7 // CHECK_LLD_32-NOT: invalid linker name in argument
      8 // CHECK_LLD_32: lld{{(.exe)?}}" "-flavor" "gnu"
      9 // CHECK_LLD_32: "i386pe"
     10 
     11 // RUN: %clang -### -target x86_64-pc-windows-gnu --sysroot=%S/Inputs/mingw_clang_tree/mingw32 %s -fuse-ld=lld 2>&1 | FileCheck -check-prefix=CHECK_LLD_64 %s
     12 // CHECK_LLD_64-NOT: invalid linker name in argument
     13 // CHECK_LLD_64: lld{{(.exe)?}}" "-flavor" "gnu"
     14 // CHECK_LLD_64: "i386pep"
     15 
     16 // RUN: %clang -### -target arm-pc-windows-gnu --sysroot=%S/Inputs/mingw_clang_tree/mingw32 %s -fuse-ld=lld 2>&1 | FileCheck -check-prefix=CHECK_LLD_ARM %s
     17 // CHECK_LLD_ARM-NOT: invalid linker name in argument
     18 // CHECK_LLD_ARM: lld{{(.exe)?}}" "-flavor" "gnu"
     19 // CHECK_LLD_ARM: "thumb2pe"
     20