summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/visibility-hidden-extern-templates.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert 124633. The linker has been told how to merge available_externally.Rafael Espindola2011-02-011-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124651 91177308-0d34-0410-b5e6-96231b3b80d8
* Set visibility for available_externally globals. This is important for two ↵Rafael Espindola2011-02-011-1/+1
| | | | | | | | | | reasons: * llvm-link would complains about mismatched visibility * If we produce a relocation with an available_externally, it is good to know that it is hidden. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124633 91177308-0d34-0410-b5e6-96231b3b80d8
* Reinstate the optimization suppressing available_externally functionsDouglas Gregor2010-07-131-1/+1
| | | | | | | | | 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
* Speculatively revert r108156; it appears to be breaking self-host.Douglas Gregor2010-07-121-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108194 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not generate LLVM IR for available_externally function bodies atDouglas Gregor2010-07-121-1/+1
| | | | | | | | | | | | -O0, since we won't be using the definitions for anything anyway. For lib/System/Path.o when built in Debug+Asserts mode, this leads to a 4% improvement in compile time (and suppresses 440 function bodies). <rdar://problem/7987644> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108156 91177308-0d34-0410-b5e6-96231b3b80d8
* Instantiations subject to an explicit template instantiationDouglas Gregor2010-06-211-0/+26
declaration have default visibility even under -fvisibility=hidden. Fixes <rdar://problem/8109763>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106440 91177308-0d34-0410-b5e6-96231b3b80d8