view clang/test/Driver/cl-thinlto-backend.c @ 221:79ff65ed7e25

LLVM12 Original
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 15 Jun 2021 19:15:29 +0900
parents 1d019706d866
children
line wrap: on
line source

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