- Jul 11, 2009
-
-
Ted Kremenek authored
Handle insidious corner case exposed by RegionStoreManager when handling void* values that are bound to symbolic regions and then treated like integers. llvm-svn: 75356
-
Zhongxing Xu authored
llvm-svn: 75329
-
Evan Cheng authored
Fix up support for OptionalDefOperand when it defaults to an actual register def. I need this to get ready for major Thumb1 surgery. llvm-svn: 75328
-
Anders Carlsson authored
llvm-svn: 75327
-
Ted Kremenek authored
MemRegion kinds. This allows the compiler to identify what MemRegions we don't handle for pointer arithmetic. llvm-svn: 75326
-
Eli Friedman authored
llvm-svn: 75325
-
Anders Carlsson authored
llvm-svn: 75324
-
Anders Carlsson authored
Implement more of C++0x 'auto'. A variable with an auto type specifier must have an initializer. Also, move some tests around to match the C++0x draft better. llvm-svn: 75322
-
Ted Kremenek authored
warning: ‘OPT’ may be used uninitialized in this function Now OPT is initialized to NULL. I'm not certain if this is the correct fix; others please review. llvm-svn: 75321
-
Eli Friedman authored
llvm-svn: 75320
-
Ted Kremenek authored
llvm-svn: 75318
-
Evan Cheng authored
llvm-svn: 75317
-
Ted Kremenek authored
llvm-svn: 75316
-
Anders Carlsson authored
llvm-svn: 75315
-
Steve Naroff authored
The idea is to segregate Objective-C "object" pointers from general C pointers (utilizing the recently added ObjCObjectPointerType). The fun starts in Sema::GetTypeForDeclarator(), where "SomeInterface *" is now represented by a single AST node (rather than a PointerType whose Pointee is an ObjCInterfaceType). Since a significant amount of code assumed ObjC object pointers where based on C pointers/structs, this patch is very tedious. It should also explain why it is hard to accomplish this in smaller, self-contained patches. This patch does most of the "heavy lifting" related to moving from PointerType->ObjCObjectPointerType. It doesn't include all potential "cleanups". The good news is additional cleanups can be done later (some are noted in the code). This patch is so large that I didn't want to include any changes that are purely aesthetic. By making the ObjC types truly built-in, they are much easier to work with (and require fewer "hacks"). For example, there is no need for ASTContext::isObjCIdStructType() or ASTContext::isObjCClassStructType()! We believe this change (and the follow-up cleanups) will pay dividends over time. Given the amount of code change, I do expect some fallout from this change (though it does pass all of the clang tests). If you notice any problems, please let us know asap! Thanks. llvm-svn: 75314
-
Evan Cheng authored
llvm-svn: 75312
-
Bob Wilson authored
quad registers and the Q4PR class holds sets of 4 quad registers. llvm-svn: 75309
-
Bob Wilson authored
These are needed to represent ARM Neon struct datatypes containing 2, 3 or 4 separate vectors. llvm-svn: 75308
-
Chris Lattner authored
never be generated. llvm-svn: 75305
-
Ted Kremenek authored
over the types of MemRegions. This allows the compiler to warn us which regions are not handled, and also is a little faster. llvm-svn: 75304
-
Eli Friedman authored
llvm-svn: 75303
-
Bob Wilson authored
since names are the same for almost all the types. llvm-svn: 75302
-
Chris Lattner authored
llvm-svn: 75301
-
Jeffrey Yasskin authored
USE_OPROFILE to 0 on some paths through configure, which does the wrong thing with #if defined(). llvm-svn: 75300
-
- Jul 10, 2009
-
-
Chris Lattner authored
llvm-svn: 75298
-
Ted Kremenek authored
llvm-svn: 75297
-
Ted Kremenek authored
llvm-svn: 75296
-
Ted Kremenek authored
llvm-svn: 75295
-
Ted Kremenek authored
move this case to 'test/Analysis/misc-ps.m' to test with both BasicStoreManager and RegionStoreManager. llvm-svn: 75294
-
David Goodwin authored
llvm-svn: 75292
-
Anders Carlsson authored
llvm-svn: 75291
-
Evan Cheng authored
llvm-svn: 75290
-
Ted Kremenek authored
CodeTextRegions can only be casted to FunctionPointer or BlockPointerTypes. This simply isn't true. We can handle bogus operations on CodeTextRegions (e.g, an array access) elsewhere. llvm-svn: 75285
-
David Greene authored
Make changes suggested by Chris and eliminate newly-added raw_ostream hooks as they're no longer needed. The major change with this patch is to make formatted_raw_ostream usable by any client of raw_ostream. llvm-svn: 75283
-
Ted Kremenek authored
void**, void***, etc. Such casts should just pass the region through. llvm-svn: 75281
-
Jeffrey Yasskin authored
llvm-svn: 75280
-
Jeffrey Yasskin authored
library to tell it the addresses of JITted functions. For a particular program, this changes the opreport -l output from: samples % image name symbol name 48182 98.9729 anon (tgid:19412 range:0x7f12ccaab000-0x7f12cdaab000) anon (tgid:19412 range:0x7f12ccaab000-0x7f12cdaab000) 11 0.0226 libstdc++.so.6.0.9 /usr/lib/libstdc++.so.6.0.9 to: samples % image name symbol name 24565 60.7308 19814.jo fib_left 15365 37.9861 19814.jo fib_right 22 0.0544 ld-2.7.so do_lookup_x llvm-svn: 75279
-
Chris Lattner authored
llvm-svn: 75278
-
Chris Lattner authored
llvm-svn: 75277
-
Chris Lattner authored
llvm-svn: 75276
-