From: Dehao Chen Date: Fri, 13 Jan 2017 01:09:43 +0000 (+0000) Subject: Temporarily revert the test change in 291870, which is broken in certain buildbots. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fca7525ab3d8bc46f28ed8119774dc04bfaaac18;p=clang Temporarily revert the test change in 291870, which is broken in certain buildbots. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291874 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/thinlto_backend.ll b/test/CodeGen/thinlto_backend.ll index b38cae12ee..ac0b3b76ef 100644 --- a/test/CodeGen/thinlto_backend.ll +++ b/test/CodeGen/thinlto_backend.ll @@ -8,10 +8,6 @@ ; RUN: not %clang_cc1 -O2 -o %t1.o -x c %s -c -fthinlto-index=%t.thinlto.bc 2>&1 | FileCheck %s -check-prefix=CHECK-WARNING ; CHECK-WARNING: error: invalid argument '-fthinlto-index={{.*}}' only allowed with '-x ir' -; Ensure sample profile pass are passed to backend -; RUN: %clang_cc1 -emit-obj -O2 -o %t5.o -x ir %t1.o -fthinlto-index=%t.thinlto.bc -fprofile-sample-use=%S/Inputs/pgo-sample.prof -mllvm -debug-pass=Structure 2>&1 | FileCheck %s -check-prefix=CHECK-SAMPLEPGO -; CHECK-SAMPLEPGO: Sample profile pass - ; Ensure we get expected error for missing index file ; RUN: %clang -O2 -o %t4.o -x ir %t1.o -c -fthinlto-index=bad.thinlto.bc 2>&1 | FileCheck %s -check-prefix=CHECK-ERROR1 ; CHECK-ERROR1: Error loading index file 'bad.thinlto.bc'