diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-07-13 06:02:28 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-07-13 06:02:28 +0000 |
| commit | a700f688282a1984164a2a95590eb39284fb4272 (patch) | |
| tree | 448ba1a3af69e04737699b50b19d4e30683a6e32 /clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp | |
| parent | 9b5561f4db6f5dad4e886083f94cf6479c852c26 (diff) | |
| download | bcm5719-llvm-a700f688282a1984164a2a95590eb39284fb4272.tar.gz bcm5719-llvm-a700f688282a1984164a2a95590eb39284fb4272.zip | |
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.
llvm-svn: 108230
Diffstat (limited to 'clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp')
| -rw-r--r-- | clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp b/clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp index 4c133ec32c7..7629b77c2ce 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 -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 { |

