]> granicus.if.org Git - clang/commit
Reinstate the optimization suppressing available_externally functions
authorDouglas Gregor <dgregor@apple.com>
Tue, 13 Jul 2010 06:02:28 +0000 (06:02 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 13 Jul 2010 06:02:28 +0000 (06:02 +0000)
commit44eac33ae12df384f3f002102f919f603bee330f
treea0cbeccc9bfc23ab61327e2596d63b025a3f0844
parent769640e30d1e8ec2a6667daff1c2d0a28811138b
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
lib/CodeGen/CodeGenModule.cpp
test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp
test/CodeGen/available-externally-suppress.c [new file with mode: 0644]
test/CodeGen/inline.c
test/CodeGen/inline2.c
test/CodeGenCXX/template-instantiation.cpp
test/CodeGenCXX/visibility-hidden-extern-templates.cpp