From 2375952a47cadf71dc8b0136a8f775363823551c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 10 Aug 2009 18:56:44 +0000 Subject: [PATCH] these tests include section specifiers that aren't valid on the mac, use an explicit triple. llvm-svn: 78583 --- clang/test/CodeGen/attributes.c | 2 +- clang/test/CodeGen/global-init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/CodeGen/attributes.c b/clang/test/CodeGen/attributes.c index 7191f98c414f..13b64ae87b1f 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 2a4c77b1da32..2368422f3ab7 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).