summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/key-function-vtable.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Specify non-GNU-ARM triples for key-function test.Tim Northover2013-01-261-1/+2
| | | | | | | Since ARM has diverging ABIs on this detail, it's probably worth testing both it and a "normal" Itanium system. llvm-svn: 173576
* Warn about code that uses variables and functions with internal linkageJohn McCall2011-02-191-0/+1
| | | | | | | | | | | | | | without defining them. This should be an error, but I'm paranoid about "uses" that end up not actually requiring a definition. I'll revisit later. Also, teach IR generation to not set internal linkage on variable declarations, just for safety's sake. Doing so produces an invalid module if the variable is not ultimately defined. Also, fix several places in the test suite where we were using internal functions without definitions. llvm-svn: 126016
* Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the ↵Anders Carlsson2011-01-241-4/+4
| | | | | | | | 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-6/+6
| | | | llvm-svn: 123272
* Just disable the hidden-visibility optimization for now by hiding it behindJohn McCall2010-08-121-2/+2
| | | | | | | | 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-4/+4
| | | | llvm-svn: 110107
* A vtable is used if the key function is defined... even if that keyDouglas Gregor2010-05-141-1/+10
| | | | | | | function's definition is an out-of-class definition marked "inline". Fixes an assertion in WebKit. llvm-svn: 103763
* 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
* Slight tweak to vtable linkage.Eli Friedman2009-12-081-1/+1
| | | | llvm-svn: 90832
* Misc key function fixes.Eli Friedman2009-12-081-0/+42
llvm-svn: 90831
OpenPOWER on IntegriCloud