From: Teresa Johnson Date: Wed, 28 Dec 2016 16:45:37 +0000 (+0000) Subject: [ThinLTO] Add missing FileCheck invocation X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0922a531c69dda7dd465ea938cd552b674c6eeac;p=clang [ThinLTO] Add missing FileCheck invocation One of the intended checks was not being performed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290671 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/thinlto_backend.ll b/test/CodeGen/thinlto_backend.ll index 4b01b1ad15..89f4fc407f 100644 --- a/test/CodeGen/thinlto_backend.ll +++ b/test/CodeGen/thinlto_backend.ll @@ -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"