summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/object-size.c
Commit message (Collapse)AuthorAgeFilesLines
* Constant expression evaluation: add support for evaluation of member pointersRichard Smith2011-11-171-2/+1
| | | | | | and base-to-derived casts, and add proper handling of temporaries. llvm-svn: 144926
* IRgen: Assignment to Objective-C properties shouldn't reload the value (whichDaniel Dunbar2010-06-291-1/+17
| | | | | | | | would trigger an extra method call). - While in the area, I also changed Clang to not emit an unnecessary load from 'x' in cases like 'y = (x = 1)'. llvm-svn: 107210
* Fix for Release-Asserts.Mike Stump2010-01-131-18/+17
| | | | llvm-svn: 93340
* __builtin_object_size(ptr, type) returns -1 for type = {0,1} if there are ↵Benjamin Kramer2010-01-031-0/+11
| | | | | | any side-effects. llvm-svn: 92453
* Update for the intrinsic changes in llvm: the object size intrinsicEric Christopher2009-12-231-1/+1
| | | | | | | only takes a boolean second argument now. Update tests accordingly. Currently the builtin still accepts the full range for compatibility. llvm-svn: 91983
* 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
* Switch over to checking .ll files instead of .s files.Mike Stump2009-12-071-44/+29
| | | | llvm-svn: 90786
* Fix tests after enabling -split-phi-edges.Jakob Stoklund Olesen2009-11-171-10/+10
| | | | | | | | object-size.c aws simply too fragile. constructor-default-arg.cpp triggers an issue when LiveVariables is run before RALocal. llvm-svn: 89025
* Enable the use of the new llvm objectsize intrinsic.Mike Stump2009-11-091-2/+2
| | | | llvm-svn: 86607
* Add missing colons for FileCheck.Benjamin Kramer2009-10-311-1/+1
| | | | llvm-svn: 85683
* Fix one more bug with __builtin_object_size.Mike Stump2009-10-291-0/+6
| | | | llvm-svn: 85538
* Add yet more testcases.Mike Stump2009-10-291-0/+30
| | | | llvm-svn: 85535
* Add some more testcases.Mike Stump2009-10-291-6/+30
| | | | llvm-svn: 85534
* Make test independent of darwin system headers.Benjamin Kramer2009-10-271-3/+10
| | | | llvm-svn: 85232
* __builtin_object_size refinements. Also handle stack based objects. WIP.Mike Stump2009-10-261-0/+10
| | | | llvm-svn: 85174
* __builtin_object_size refinements. When we run out of object, be sureMike Stump2009-10-261-3/+19
| | | | | | to clamp at 0 bytes left. WIP. llvm-svn: 85157
* __builtin_object_size refinements. WIP.Mike Stump2009-10-261-0/+33
llvm-svn: 85136
OpenPOWER on IntegriCloud