summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/visibility-hidden-extern-templates.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-07-13 06:02:28 +0000
committerDouglas Gregor <dgregor@apple.com>2010-07-13 06:02:28 +0000
commit44eac33ae12df384f3f002102f919f603bee330f (patch)
treea0cbeccc9bfc23ab61327e2596d63b025a3f0844 /test/CodeGenCXX/visibility-hidden-extern-templates.cpp
parent769640e30d1e8ec2a6667daff1c2d0a28811138b (diff)
Reinstate the optimization suppressing available_externally functions
at -O0. The only change from the previous patch is that we don't try to generate virtual method thunks for an available_externally function. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/visibility-hidden-extern-templates.cpp')
-rw-r--r--test/CodeGenCXX/visibility-hidden-extern-templates.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/visibility-hidden-extern-templates.cpp b/test/CodeGenCXX/visibility-hidden-extern-templates.cpp
index 4c133ec32c..7629b77c2c 100644
--- a/test/CodeGenCXX/visibility-hidden-extern-templates.cpp
+++ b/test/CodeGenCXX/visibility-hidden-extern-templates.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -o - -fvisibility hidden %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -emit-llvm -o - -fvisibility hidden %s | FileCheck %s
template<typename T>
struct X {