summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/vtable-key-function.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the ↵Anders Carlsson2011-01-241-1/+1
| | | | | | | | exception of explicit template instantiations, which have to be weak_odr. This fixes PR6996. llvm-svn: 124089
* Add unnamed_addr to vtables.Rafael Espindola2011-01-111-1/+1
| | | | llvm-svn: 123272
* Just disable the hidden-visibility optimization for now by hiding it behindJohn McCall2010-08-121-1/+1
| | | | | | | | a -cc1 option. The Darwin linker complains about mixed visibility when linking gcc-built objects with clang-built objects, and the optimization isn't really that valuable. Platforms with less ornery linkers can feel free to enable this. llvm-svn: 110979
* Emit weak vtables of non-template classes with hidden visibility.John McCall2010-08-031-1/+1
| | | | llvm-svn: 110107
* Improve key-function computation for templates. In particular:Douglas Gregor2010-01-051-0/+18
| | | | | | | | | | | | | | | | - All classes can have a key function; templates don't change that. non-template classes when computing the key function. - We always mark all of the virtual member functions of class template instantiations. - The vtable for an instantiation of a class template has weak linkage. We could probably use available_externally linkage for vtables of classes instantiated by explicit instantiation declarations (extern templates), but GCC doesn't do this and I'm not 100% that the ABI permits it. llvm-svn: 92753
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* It's OK to try to emit a vtable definition more than once. Fixes PR5697.Anders Carlsson2009-12-071-0/+15
llvm-svn: 90751
OpenPOWER on IntegriCloud