From: Peter Collingbourne Date: Wed, 22 Jun 2016 01:17:30 +0000 (+0000) Subject: Specify a target triple to fix the test on non-Linux. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a168bedd88436217927c09db0f2286f08ec56c1;p=clang Specify a target triple to fix the test on non-Linux. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@273356 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/thinlto_backend.ll b/test/CodeGen/thinlto_backend.ll index d9d59a239a..608204966b 100644 --- a/test/CodeGen/thinlto_backend.ll +++ b/test/CodeGen/thinlto_backend.ll @@ -11,7 +11,7 @@ ; CHECK-ERROR: Error loading index file 'bad.thinlto.bc' ; Ensure f2 was imported -; RUN: %clang -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 ; RUN: llvm-nm %t3.o | FileCheck --check-prefix=CHECK-OBJ %s ; CHECK-OBJ: T f1 ; CHECK-OBJ-NOT: U f2