bolt/deps/llvm-18.1.8/clang/test/Driver/mingw-lto.c
2025-02-14 19:21:04 +01:00

6 lines
325 B
C

// The default linker doesn't support LLVM bitcode
// RUN: not %clang --target=i686-pc-windows-gnu %s -flto -fuse-ld=bfd
// When using lld, this is allowed though.
// RUN: %clang --target=i686-pc-windows-gnu -### %s -flto -fuse-ld=lld -B%S/Inputs/lld -femulated-tls 2>&1 | FileCheck %s
// CHECK: "-plugin-opt=-emulated-tls"