summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/object-size.c
Commit message (Collapse)AuthorAgeFilesLines
* Test case updates for explicit type parameter to the gep operatorDavid Blaikie2015-03-131-15/+15
| | | | llvm-svn: 232187
* Update Clang tests to handle explicitly typed load changes in LLVM.David Blaikie2015-02-271-1/+1
| | | | llvm-svn: 230795
* Fix objectsize tests after r192117Matt Arsenault2013-10-071-1/+1
| | | | llvm-svn: 192120
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-16/+16
| | | | | | tests fail. llvm-svn: 188447
* add support for conditional expressions in Expr::HasSideEffects()Nuno Lopes2012-07-131-1/+10
| | | | | | This fixes a bug in __builtin_object_size() codegen llvm-svn: 160191
* If the first argument of __builtin_object_size can be folded to a constantRichard Smith2012-05-231-1/+4
| | | | | | | | pointer, but such folding encounters side-effects, ignore the side-effects rather than performing them at runtime: CodeGen generates wrong code for __builtin_object_size in that case. llvm-svn: 157310
* revert the usage of the objectsize intrinsic with 3 parameters (to match ↵Nuno Lopes2012-05-221-2/+2
| | | | | | LLVM r157255) llvm-svn: 157256
* update calls to objectsize intrinsic to match LLVM r156473Nuno Lopes2012-05-091-2/+2
| | | | | | add a test for -fbounds-checking code generation llvm-svn: 156474
* 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