]> granicus.if.org Git - clang/commitdiff
Specify a target triple to fix the test on non-Linux.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 22 Jun 2016 01:17:30 +0000 (01:17 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 22 Jun 2016 01:17:30 +0000 (01:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@273356 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/thinlto_backend.ll

index d9d59a239a895b0fe1e37ec1e4627125552d732c..608204966b992cd1f719c6b939b6b8708968adbc 100644 (file)
@@ -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