r273356 - Specify a target triple to fix the test on non-Linux.
Peter Collingbourne via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 21 18:17:30 PDT 2016
Author: pcc
Date: Tue Jun 21 20:17:30 2016
New Revision: 273356
URL: http://llvm.org/viewvc/llvm-project?rev=273356&view=rev
Log:
Specify a target triple to fix the test on non-Linux.
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=273356&r1=273355&r2=273356&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/thinlto_backend.ll (original)
+++ cfe/trunk/test/CodeGen/thinlto_backend.ll Tue Jun 21 20:17:30 2016
@@ -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
More information about the cfe-commits
mailing list