- Jan 23, 2009
-
-
Ted Kremenek authored
For now, return UnknownVal() in RegionStore::getElementsSize() for AnonTypedRegions. It wasn't really doing the right thing and was crashing on rdar-6442306-1.m. This fix causes all path-sensitive test cases to pass with RegionStore. llvm-svn: 62816
-
Chris Lattner authored
load is always aligned. I verified that the bswap doesn't occur in the assembly code on x86. llvm-svn: 62815
-
Ted Kremenek authored
Add RegionStore support for the implicit object region that 'self' references. This causes tests 'ObjCProperties.m' and 'refcnt_naming.m' to now pass with RegionStore. llvm-svn: 62814
-
Douglas Gregor authored
initializers, so that we are within the appropriate subobject after we've processed a multi-designator designation. We're matching GCC and EDG's behavior on all examples I've found thus far. *Huge* thanks to Eli Friedman for pointing out my fundamental misunderstanding of "current object" in the C99 spec. llvm-svn: 62812
-
Daniel Dunbar authored
parent wasn't expecting it. llvm-svn: 62811
-
Steve Naroff authored
llvm-svn: 62808
-
Fariborz Jahanian authored
for the new meta-data. llvm-svn: 62806
-
- Jan 22, 2009
-
-
Ted Kremenek authored
llvm-svn: 62805
-
Ted Kremenek authored
llvm-svn: 62804
-
Ted Kremenek authored
llvm-svn: 62803
-
Ted Kremenek authored
llvm-svn: 62802
-
Ted Kremenek authored
llvm-svn: 62801
-
Ted Kremenek authored
llvm-svn: 62800
-
Ted Kremenek authored
llvm-svn: 62799
-
Ted Kremenek authored
llvm-svn: 62798
-
Ted Kremenek authored
llvm-svn: 62796
-
Ted Kremenek authored
llvm-svn: 62795
-
Chris Lattner authored
llvm-svn: 62785
-
Ted Kremenek authored
llvm-svn: 62782
-
Ted Kremenek authored
Fix RegionStore::getLValueElement() to handle the case when the base region is not an ElementRegion (also do some cleanups of its core logic). This gets array-struct.c to work with RegionStore. llvm-svn: 62781
-
Chris Lattner authored
descriptive. llvm-svn: 62775
-
-
Ted Kremenek authored
llvm-svn: 62773
-
Ted Kremenek authored
The 'misc-ps.m' test case now passes with RegionStore. One case needed to be split out into 'misc-ps-basic-store.m' and 'misc-ps-region-store.m' because the behavior was different between the two store models (RegionStore flags an additional valid bug). llvm-svn: 62772
-
Ted Kremenek authored
SymbolReaper::isLive(SymbolRef) now always returns true for SymbolRegionRvalues because these represent the symbolic values for parameters/globals upon entry to the function. These values are always ;live' because they represent constraints on the context of how the function was called. This will be useful for both summary generation but is also necessary to get RegionStore's lazy-binding of locations to symbols to work in practice with RemoveDeadBindings. llvm-svn: 62771
-
Ted Kremenek authored
their associated APIs. We no longer need separate SymbolData objects for fields, variables, etc. Instead, we now associated symbols with the "rvalue" of a MemRegion (i.e., the value stored at that region). Now we only have two kinds of SymbolData objects: SymbolRegionRValue and SymbolConjured. This cleanup also makes the distinction between a SymbolicRegion and a symbolic value that is a location much clearer. A SymbolicRegion represents a chunk of symbolic memory, while a symbolic location is just a "pointer" with different possible values. Without any specific knowledge, a symbolic location resolves (i.e., via a dereference) to a SymbolicRegion. In the future, when we do better alias reasoning, a symbolic location can become an alias for another location, thus merging the constraints on the referred SymbolicRegion with the other region. llvm-svn: 62769
-
Sebastian Redl authored
Uncomment the define in Ownership.h to disable the smart pointers. Disabled, the smart pointers no longer contain a pointer to the action, and no longer have special destruction or copying semantics. They are, compiler willing, raw pointers or ActionResult equivalents. llvm-svn: 62767
-
Douglas Gregor authored
llvm-svn: 62766
-
Mike Stump authored
llvm-svn: 62744
-
Daniel Dunbar authored
options (for example, to set relocation model or enable unwind table generation). llvm-svn: 62740
-
Douglas Gregor authored
designated initializers. This implementation should cover all of the constraints in C99 6.7.8, including long, complex designations and computing the size of incomplete array types initialized with a designated initializer. Please see the new test-case and holler if you find cases where this doesn't work. There are still some wrinkles with GNU's anonymous structs and anonymous unions (it isn't clear how these should work; we'll just follow GCC's lead) and with designated initializers for the members of a union. I'll tackle those very soon. CodeGen is still nonexistent, and there's some leftover code in the parser's representation of designators that I'll also need to clean up. llvm-svn: 62737
-
Fariborz Jahanian authored
the two Next's objc runtimes. More comments. llvm-svn: 62735
-
Daniel Dunbar authored
- Although gross, this is needed currently to ensure that we produce well formed debug information (to match pace with the assertions being added to DebugInfo in LLVM). llvm-svn: 62734
-
Fariborz Jahanian authored
No change in functionality. llvm-svn: 62729
-
Daniel Dunbar authored
llvm-svn: 62728
-
- Jan 21, 2009
-
-
Ted Kremenek authored
llvm-svn: 62727
-
rdar://problem/6512717Ted Kremenek authored
Fix <rdar://problem/6512717> by correctly reading the right offset in the token data in PTHLexer::getSourceLocation(). llvm-svn: 62725
-
Steve Naroff authored
Fix Sema::Owned(ExprResult) to not use a ternary operator. Necessary to work around a Visual Studio compiler bug. Thanks to Doug Gregor for the suggestion. llvm-svn: 62723
-
Ted Kremenek authored
Static Analyzer: Replace LiveSymbols/DeadSymbols sets with a new object called "SymbolReaper". Right now it just consolidates the two and cleans up some client code, but shortly it will be used to enable "lazy computation" of live symbols for use with RegionStore. llvm-svn: 62722
-
Fariborz Jahanian authored
the new ObjC's abi. llvm-svn: 62721
-