[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / cl-thinlto-backend.c
blob4697a994906ab87b40aeffafc930659213ee1413
1 // RUN: %clang_cl -c -flto=thin -Fo%t.obj -- %s
2 // RUN: llvm-lto2 run -thinlto-distributed-indexes -o %t.exe %t.obj
4 // -fthinlto_index should be passed to cc1
5 // RUN: %clang_cl -### -c -fthinlto-index=%t.thinlto.bc -Fo%t1.obj \
6 // RUN: -- %t.obj 2>&1 | FileCheck %s
8 // CHECK: -fthinlto-index=
9 // CHECK: "-x" "ir"