clang/test/Driver/cl-thinlto-backend.c
raw| 1 | // RUN: %clang_cl -c -flto=thin -Fo%t.obj -- %s |
| 2 | // RUN: llvm-lto2 run -thinlto-distributed-indexes -o %t.exe %t.obj |
| 3 | |
| 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 |
| 7 | |
| 8 | // CHECK: -fthinlto-index= |
| 9 | // CHECK: "-x" "ir" |