diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-07-12 21:08:32 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-07-12 21:08:32 +0000 |
commit | 553f3a9b300fa709379ee77e0ae698b26350a964 (patch) | |
tree | 9a219c28e6d461b0883e43bc00dc6a5433f3e89b /clang/test | |
parent | 0cb91cfc74b935331f2480f0b9230be45712be50 (diff) | |
download | bcm5719-llvm-553f3a9b300fa709379ee77e0ae698b26350a964.tar.gz bcm5719-llvm-553f3a9b300fa709379ee77e0ae698b26350a964.zip |
Speculatively revert r108156; it appears to be breaking self-host.
llvm-svn: 108194
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp | 2 | ||||
-rw-r--r-- | clang/test/CodeGen/available-externally-suppress.c | 12 | ||||
-rw-r--r-- | clang/test/CodeGen/inline.c | 6 | ||||
-rw-r--r-- | clang/test/CodeGen/inline2.c | 4 | ||||
-rw-r--r-- | clang/test/CodeGenCXX/template-instantiation.cpp | 2 | ||||
-rw-r--r-- | clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp | 2 |
6 files changed, 8 insertions, 20 deletions
diff --git a/clang/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp b/clang/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp index 57b012f9a94..e67233c3754 100644 --- a/clang/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp +++ b/clang/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -O1 -emit-llvm -std=c++0x -o - %s | FileCheck %s +// RUN: %clang_cc1 -emit-llvm -std=c++0x -o - %s | FileCheck %s template<typename T> struct X0 { diff --git a/clang/test/CodeGen/available-externally-suppress.c b/clang/test/CodeGen/available-externally-suppress.c deleted file mode 100644 index c3b7a213baf..00000000000 --- a/clang/test/CodeGen/available-externally-suppress.c +++ /dev/null @@ -1,12 +0,0 @@ -// RUN: %clang_cc1 -emit-llvm -o - -O0 -triple x86_64-apple-darwin10 %s | FileCheck %s - -// Ensure that we don't emit available_externally functions at -O0. -int x; - -inline void f0(int y) { x = y; } - -// CHECK: define void @test() -// CHECK: declare void @f0(i32) -void test() { - f0(17); -} diff --git a/clang/test/CodeGen/inline.c b/clang/test/CodeGen/inline.c index a6b4b3e4483..a17b0699296 100644 --- a/clang/test/CodeGen/inline.c +++ b/clang/test/CodeGen/inline.c @@ -1,5 +1,5 @@ // RUN: echo "GNU89 tests:" -// RUN: %clang %s -O1 -emit-llvm -S -o %t -std=gnu89 +// RUN: %clang %s -emit-llvm -S -o %t -std=gnu89 // RUN: grep "define available_externally i32 @ei()" %t // RUN: grep "define i32 @foo()" %t // RUN: grep "define i32 @bar()" %t @@ -14,7 +14,7 @@ // RUN: grep "define available_externally i32 @test5" %t // RUN: echo "\nC99 tests:" -// RUN: %clang %s -O1 -emit-llvm -S -o %t -std=c99 +// RUN: %clang %s -emit-llvm -S -o %t -std=c99 // RUN: grep "define i32 @ei()" %t // RUN: grep "define available_externally i32 @foo()" %t // RUN: grep "define i32 @bar()" %t @@ -29,7 +29,7 @@ // RUN: grep "define available_externally i32 @test5" %t // RUN: echo "\nC++ tests:" -// RUN: %clang %s -O1 -emit-llvm -S -o %t -std=c++98 +// RUN: %clang %s -emit-llvm -S -o %t -std=c++98 // RUN: grep "define linkonce_odr i32 @_Z2eiv()" %t // RUN: grep "define linkonce_odr i32 @_Z3foov()" %t // RUN: grep "define i32 @_Z3barv()" %t diff --git a/clang/test/CodeGen/inline2.c b/clang/test/CodeGen/inline2.c index fca4fff7ca8..737b58fa44c 100644 --- a/clang/test/CodeGen/inline2.c +++ b/clang/test/CodeGen/inline2.c @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -O1 -std=gnu89 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix GNU89 %s -// RUN: %clang_cc1 -O1 -std=c99 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix C99 %s +// RUN: %clang_cc1 -std=gnu89 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix GNU89 %s +// RUN: %clang_cc1 -std=c99 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix C99 %s // CHECK-GNU89: define i32 @f0() // CHECK-C99: define i32 @f0() diff --git a/clang/test/CodeGenCXX/template-instantiation.cpp b/clang/test/CodeGenCXX/template-instantiation.cpp index cb6c8123164..4a3857542d0 100644 --- a/clang/test/CodeGenCXX/template-instantiation.cpp +++ b/clang/test/CodeGenCXX/template-instantiation.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -O1 -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s // CHECK-NOT: @_ZTVN5test118stdio_sync_filebufIwEE = constant // CHECK-NOT: _ZTVN5test315basic_fstreamXXIcEE diff --git a/clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp b/clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp index 7629b77c2ce..4c133ec32c7 100644 --- a/clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp +++ b/clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -O1 -emit-llvm -o - -fvisibility hidden %s | FileCheck %s +// RUN: %clang_cc1 -emit-llvm -o - -fvisibility hidden %s | FileCheck %s template<typename T> struct X { |