]> granicus.if.org Git - clang/commitdiff
[ThinLTO] Specify target triple in new test
authorTeresa Johnson <tejohnson@google.com>
Sat, 7 Jan 2017 00:09:42 +0000 (00:09 +0000)
committerTeresa Johnson <tejohnson@google.com>
Sat, 7 Jan 2017 00:09:42 +0000 (00:09 +0000)
This should fix bot failures in this test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291310 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/thinlto_backend.ll

index 0a5a685457e985cf0c88add564a669bb22cd5ae6..ac0b3b76ef7d1c0d3bfbf70b3a2dfdd0a729018f 100644 (file)
@@ -15,7 +15,7 @@
 ; Ensure we ignore empty index file under -ignore-empty-index-file, and run
 ; non-ThinLTO compilation which would not import f2
 ; RUN: touch %t4.thinlto.bc
-; RUN: %clang -O2 -o %t4.o -x ir %t1.o -c -fthinlto-index=%t4.thinlto.bc -mllvm -ignore-empty-index-file
+; RUN: %clang -target x86_64-unknown-linux-gnu -O2 -o %t4.o -x ir %t1.o -c -fthinlto-index=%t4.thinlto.bc -mllvm -ignore-empty-index-file
 ; RUN: llvm-nm %t4.o | FileCheck --check-prefix=CHECK-OBJ-IGNORE-EMPTY %s
 ; CHECK-OBJ-IGNORE-EMPTY: T f1
 ; CHECK-OBJ-IGNORE-EMPTY: U f2