summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-10 18:56:44 +0000
committerChris Lattner <sabre@nondot.org>2009-08-10 18:56:44 +0000
commit2375952a47cadf71dc8b0136a8f775363823551c (patch)
treeadc90141547fb87cfc5e3dc06cd9168b0015b3f4
parent9d3405ceab027b9276b8ec7142247376dc3e07ce (diff)
downloadbcm5719-llvm-2375952a47cadf71dc8b0136a8f775363823551c.tar.gz
bcm5719-llvm-2375952a47cadf71dc8b0136a8f775363823551c.zip
these tests include section specifiers that aren't valid on the
mac, use an explicit triple. llvm-svn: 78583
-rw-r--r--clang/test/CodeGen/attributes.c2
-rw-r--r--clang/test/CodeGen/global-init.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/attributes.c b/clang/test/CodeGen/attributes.c
index 7191f98c414..13b64ae87b1 100644
--- a/clang/test/CodeGen/attributes.c
+++ b/clang/test/CodeGen/attributes.c
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s &&
+// RUN: clang-cc -emit-llvm -triple i386-linux-gnu -o %t %s &&
// RUN: grep 't1.*noreturn' %t &&
// RUN: grep 't2.*nounwind' %t &&
// RUN: grep 'weak.*t3' %t &&
diff --git a/clang/test/CodeGen/global-init.c b/clang/test/CodeGen/global-init.c
index 2a4c77b1da3..2368422f3ab 100644
--- a/clang/test/CodeGen/global-init.c
+++ b/clang/test/CodeGen/global-init.c
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
+// RUN: clang-cc -emit-llvm -o - -triple i386-linux-gnu %s | FileCheck %s
// This checks that the global won't be marked as common.
// (It shouldn't because it's being initialized).
OpenPOWER on IntegriCloud