aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Driver/cl-thinlto-backend.c
blob: 4697a994906ab87b40aeffafc930659213ee1413 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cl -c -flto=thin -Fo%t.obj -- %s
// RUN: llvm-lto2 run -thinlto-distributed-indexes -o %t.exe %t.obj

// -fthinlto_index should be passed to cc1
// RUN: %clang_cl -### -c -fthinlto-index=%t.thinlto.bc -Fo%t1.obj \
// RUN:     -- %t.obj 2>&1 | FileCheck %s

// CHECK: -fthinlto-index=
// CHECK: "-x" "ir"