llvm-project/clang/test/Driver/cl-thinlto-backend.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
319 B
C
Raw Normal View History

// 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"