summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/attr.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add the 'target-cpu' and 'target-features' attributes to functions.Bill Wendling2013-02-151-5/+5
| | | | | | | The back-end will use these values to reconfigure code generation for different features. llvm-svn: 175308
* PR13941: Mark all virtual functions as unnamed_addr. It's not possible toRichard Smith2012-09-281-3/+7
| | | | | | | observe their addresses (taking their address gives the vtable slot) so we are free to merge their definitions. llvm-svn: 164864
* Fix PR8720 by printing an error message with a substring that the gcc ↵Rafael Espindola2010-12-071-1/+1
| | | | | | testsuite searches for. llvm-svn: 121137
* Change CodeGenModule to rely on the Module's symbol table instead ofJohn McCall2010-03-191-0/+8
| | | | | | | | | | | | | shadowing it in the GlobalDeclMap. Eliminates the string-uniquing requirement for mangled names, which should help C++ codegen times a little. Forces us to do string lookups instead of pointer lookups, which might hurt codegen times a little across the board. We'll see how it plays out. Removing the string-uniquing requirement implicitly fixes any bugs like PR6635 which arose from the fact that we had multiple uniquing tables for different kinds of identifiers. llvm-svn: 99012
* Fix attr.cpp by not checking the generated assembler output.Anders Carlsson2010-01-271-24/+5
| | | | llvm-svn: 94651
* Fix for PR5967: Make const-marking for LLVM globals correct for cases requiringEli Friedman2010-01-081-0/+3
| | | | | | | run-time initialization, and emit run-time initializers aggresively to avoid ordering issues with deferred globals. llvm-svn: 92976
* 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
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-1/+1
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Ensure we have atleast 2-byte alignment for member functions.Mike Stump2009-10-051-3/+11
| | | | llvm-svn: 83337
* Testcase for recent checkin.Mike Stump2009-10-051-0/+28
llvm-svn: 83330
OpenPOWER on IntegriCloud