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/template-instantiation.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/template-instantiation.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/template-instantiation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/template-instantiation.cpp b/clang/test/CodeGenCXX/template-instantiation.cpp index 4a3857542d0..cb6c8123164 100644 --- a/clang/test/CodeGenCXX/template-instantiation.cpp +++ b/clang/test/CodeGenCXX/template-instantiation.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 %s -O1 -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s // CHECK-NOT: @_ZTVN5test118stdio_sync_filebufIwEE = constant // CHECK-NOT: _ZTVN5test315basic_fstreamXXIcEE |