r290671 - [ThinLTO] Add missing FileCheck invocation

Teresa Johnson via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 28 08:45:38 PST 2016


Author: tejohnson
Date: Wed Dec 28 10:45:37 2016
New Revision: 290671

URL: http://llvm.org/viewvc/llvm-project?rev=290671&view=rev
Log:
[ThinLTO] Add missing FileCheck invocation

One of the intended checks was not being performed.

Modified:
    cfe/trunk/test/CodeGen/thinlto_backend.ll

Modified: cfe/trunk/test/CodeGen/thinlto_backend.ll
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto_backend.ll?rev=290671&r1=290670&r2=290671&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/thinlto_backend.ll (original)
+++ cfe/trunk/test/CodeGen/thinlto_backend.ll Wed Dec 28 10:45:37 2016
@@ -20,7 +20,7 @@
 
 ; Ensure we get expected error for input files without summaries
 ; RUN: opt -o %t2.o %s
-; RUN: %clang -target x86_64-unknown-linux-gnu -O2 -o %t3.o -x ir %t1.o -c -fthinlto-index=%t.thinlto.bc
+; RUN: %clang -target x86_64-unknown-linux-gnu -O2 -o %t3.o -x ir %t1.o -c -fthinlto-index=%t.thinlto.bc 2>&1 | FileCheck %s -check-prefix=CHECK-ERROR2
 ; CHECK-ERROR2: Error loading imported file '{{.*}}': Could not find module summary
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"




More information about the cfe-commits mailing list