]> granicus.if.org Git - clang/commitdiff
hopefully fix a bunch of ARM buildbot failures
authorNuno Lopes <nunoplopes@sapo.pt>
Wed, 9 May 2012 21:21:49 +0000 (21:21 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Wed, 9 May 2012 21:21:49 +0000 (21:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156513 91177308-0d34-0410-b5e6-96231b3b80d8

17 files changed:
test/CXX/special/class.copy/p15-inclass.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p14.cpp
test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp
test/CodeGen/2005-07-20-SqrtNoErrno.c
test/CodeGen/2007-02-25-C-DotDotDot.c
test/CodeGen/2008-03-05-syncPtr.c
test/CodeGen/2008-04-08-NoExceptions.c
test/CodeGen/2009-09-24-SqrtErrno.c
test/CodeGen/Atomics.c
test/CodeGen/address-space.c
test/CodeGen/compound-literal.c
test/CodeGen/func-aligned.c
test/CodeGen/func-return-member.c
test/CodeGen/incomplete-function-type.c
test/CodeGen/integer-overflow.c
test/CodeGen/pr12251.c
test/CodeGen/pragma-visibility.c

index c4f8eafd937c841582c8235bf5319d1f99e983fb..6cfa94fafad596dffa02479da1878685b9cb26b0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++11 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -emit-llvm -o - %s | FileCheck %s
 
 namespace PR11418 {
   struct NonPOD {
index 121cb8eedf2fbd0d9dde8cc3adc88e1e3025d6fd..aba9d364080153032083165abba4cd5d8fc5557e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s 
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s 
 
 template<class T> void f(T) { /* ... */ }
 template<class T> inline void g(T) { /* ... */ }
index 04e7df5741e2d3e41734b0b4fff1d951efda8b0c..ff24ad997dfd33e2f4df855103aa5c9fd2b5dfff 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -O1 -emit-llvm -std=c++11 -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -emit-llvm -std=c++11 -o - %s | FileCheck %s
 
 template<typename T>
 struct X0 {
index f40f61d27f31be1b453a8200b7c6ce8bc493ff9b..96761e4cfb2ecd27e9e761c72750a34c5df32a7c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - | FileCheck %s
 // llvm.sqrt has undefined behavior on negative inputs, so it is
 // inappropriate to translate C/C++ sqrt to this.
 float sqrtf(float x);
index 7b2e418f4918c37e39747a7a746f29b510ceab22..abc46683cee9da900fb6cdac779de47767001b1b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -O0 %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -O0 %s -emit-llvm -o - | FileCheck %s
 
 // Make sure the call to foo is compiled as:
 //  call float @foo()
index 784295ce6890f59720acd2a2e1115ff3cbe1394c..93f328a57949eb8d14ba6d1b6da40662a950e65c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - | FileCheck %s
 
 int* foo(int** a, int* b, int* c) {
 return __sync_val_compare_and_swap (a, b, c);
index 6d5d20ff85413d589f3ad44ebf6f9082f6e49924..ab2781b58b9c21fddb90b450273feb84eb4ef8b3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s
 
 void f(void);
 void g(void) {
index b4a04ff6b6ab4fdb475f4e157a30778df6b11be1..6a3396791fac8126973fd431dffcf3a48d8a74b7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -emit-llvm -o - -fmath-errno | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - -fmath-errno | FileCheck %s
 // llvm.sqrt has undefined behavior on negative inputs, so it is
 // inappropriate to translate C/C++ sqrt to this.
 
index c440b6c1909eead8a8306276560462486533202f..2bb38fd749c2be1f011bbc9e46cf439de13e36ce 100644 (file)
@@ -1,6 +1,6 @@
 // Test frontend handling of __sync builtins.
 // Modified from a gcc testcase.
-// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s
 
 signed char sc;
 unsigned char uc;
index 04f88dc20a1a46dc1a88bf085ff320743a350209..9de0670b1024f8978a52cf450f1a1bdd8d587449 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 -emit-llvm < %s | FileCheck %s
-// RUN: %clang_cc1 -emit-llvm < %s | grep 'load.*addrspace(2).. @A'
-// RUN: %clang_cc1 -emit-llvm < %s | grep 'load.*addrspace(2).. @B'
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm < %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm < %s | grep 'load.*addrspace(2).. @A'
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm < %s | grep 'load.*addrspace(2).. @B'
 
 
 // CHECK: @foo = common addrspace(1) global
index 969c5affe0b2052a21864d4e13f4fe1863ccf531..a8eec615ad6292b032ccba569f2ce2089b395997 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s
 
 int* a = &(int){1};
 struct s {int a, b, c;} * b = &(struct s) {1, 2, 3};
index f8a4a29d9d2cd111af450921fb8bbbb381fbb67e..64b72932d0d285f49e1fd6a265795eb885c8a524 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - | FileCheck %s
 
 // rdar://7270273
 void foo() __attribute__((aligned (64)));
index 8c55a9671cd05d73bf69ce0651b32f7520c888aa..14ecac5d6bbb1672e4e628fd19adcdffb7377c8b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s
 
 struct frk { float _Complex c; int x; };
 struct faz { struct frk f; };
index 0ba6633b4adf9dac427094e35b272b2fc6b2b001..b6309472a5bcbb548122eed5476f2d743bb6ca64 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s
 // CHECK: ModuleID
 // CHECK-NOT: opaque
 // CHECK: define void @f0
index 1d460656a1c7acd468bad62c80b540974f5c4477..d7fff4ee4a2a461f2063a86bf84a34be03f82e89 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s --check-prefix=DEFAULT
-// RUN: %clang_cc1 %s -emit-llvm -o - -fwrapv | FileCheck %s --check-prefix=WRAPV
-// RUN: %clang_cc1 %s -emit-llvm -o - -ftrapv | FileCheck %s --check-prefix=TRAPV
-// RUN: %clang_cc1 %s -emit-llvm -o - -ftrapv -ftrapv-handler foo | FileCheck %s --check-prefix=TRAPV_HANDLER
+// RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - | FileCheck %s --check-prefix=DEFAULT
+// RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - -fwrapv | FileCheck %s --check-prefix=WRAPV
+// RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - -ftrapv | FileCheck %s --check-prefix=TRAPV
+// RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - -ftrapv -ftrapv-handler foo | FileCheck %s --check-prefix=TRAPV_HANDLER
 
 
 // Tests for signed integer overflow stuff.
index a644bb79da550b9538f96dd217fdf2c8a6b9b023..b017131221412a9ef5438b5684f26aae0fe3803d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -emit-llvm -O1 -relaxed-aliasing -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -O1 -relaxed-aliasing -o - | FileCheck %s
 
 enum e1 {e1_a = -1 };
 enum e1 g1(enum e1 *x) {
index 16460a28280ee4c02e87452957e838a6331dd8b2..a7fceb3d1ac19e2e4f3105f43c425ff62f23743a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s
 
 #pragma GCC visibility push(hidden)
 int x = 2;