- Aug 13, 2011
-
-
Ted Kremenek authored
Cleanup various declarations of 'Stmt*' to be 'Stmt *', etc. in libAnalyzer and libStaticAnalyzer[*]. It was highly inconsistent, and very ugly to look at. llvm-svn: 137537
-
Jim Ingham authored
Also change the SourceInitFile to look for .lldb-<APPNAME> and source that preferentially if it exists. Also made the breakpoint site report its address as well as its breakpoint number when it gets hit and can't find any the associated locations (usually because the breakpoint got disabled or deleted programmatically between the time it was hit and reported.) Changed ThreadPlanCallFunction to initialize the ivar m_func in the initializers of the constructor, rather than waiting to initialize till later on in the function. Fixed a bug where if you make an SBError and the ask it Success, it returns false. Fixed ValueObject::ResolveValue so that it resolves a temporary value, rather than overwriting the one in the value object. llvm-svn: 137536
-
Eli Friedman authored
llvm-svn: 137535
-
Greg Clayton authored
llvm-svn: 137534
-
Greg Clayton authored
llvm-svn: 137533
-
Chad Rosier authored
inputs that aren't preprocessable. llvm-svn: 137532
-
Chad Rosier authored
llvm-svn: 137531
-
Ted Kremenek authored
llvm-svn: 137530
-
Ted Kremenek authored
Having a notion of an actual ProgramPointTag will aid in introspection of the analyzer's behavior. For example, the GraphViz output of the analyzer will pretty-print the tags in a useful manner. llvm-svn: 137529
-
Johnny Chen authored
and add some docstrings. llvm-svn: 137528
-
Eli Friedman authored
of the instruction. Note that this change affects the existing non-atomic load and store instructions; the parser now accepts both forms, and the change is noted in the release notes. llvm-svn: 137527
-
Anna Zaks authored
MacOSKeychainAPIChecker: If the allocated data address entered as an enclosing function parameter, skip it to avoid false positives. llvm-svn: 137526
-
Jim Grosbach authored
Tidy up the code a bit and push the definition of the value next to the uses to try to minimize this sort of issue from arising again while I'm at it. rdar://9945172 llvm-svn: 137525
-
Chad Rosier authored
[driver] Refactor a bit to enable a few fixes when generating diagnostics. No functional change intended. llvm-svn: 137524
-
- Aug 12, 2011
-
-
Anna Zaks authored
Report errors earlier: on checkDeadSymbols() and clear the state after the symbol we are tracking goes out of scope. Also, perform lazy error checking. Instead of forcing the paths to be split depending one the return value of the allocator, make the return symbol depend on the allocated data symbol, which prolongs its life span to the time when the allocated data symbol becomes dead. llvm-svn: 137523
-
-
Bruno Cardoso Lopes authored
llvm-svn: 137521
-
Eli Friedman authored
Some reorganization of atomic docs. Added explicit section for NonAtomic. Added example for illegal non-atomic operation. llvm-svn: 137520
-
Bruno Cardoso Lopes authored
vectors. It operates on 128-bit elements instead of regular scalar types. Recognize shuffles that are suitable for VPERM2F128 and teach the x86 legalizer how to handle them. llvm-svn: 137519
-
Bruno Cardoso Lopes authored
llvm-svn: 137518
-
Jordy Rose authored
time. One is cleanup, the other is me being OCD about enum group nesting. llvm-svn: 137517
-
Greg Clayton authored
cause extra shared pointer references to one or more modules to be leaked. This would cause many object files to stay around the life of LLDB, so after a recompile and rexecution, we would keep adding more and more memory. After fixing the leak, we found many cases where leaked stack frames were still being used and causing crashes in the test suite. These are now all resolved. llvm-svn: 137516
-
Akira Hatanaka authored
llvm-svn: 137515
-
Anna Zaks authored
MacOSKeychainAPIChecker: There is no need to use SymbolMetadata to represent the allocated data symbol, we can just use the symbol corresponding to the SymbolicRegion. This simplifies tracking of the symbol, for example, SymbolMetadata needs to go through extra hoops to stay alive. Make AllocationState internal to the MacOSKeychainAPIChecker class. llvm-svn: 137514
-
Jim Grosbach authored
Partial fix for rdar://9945172. llvm-svn: 137513
-
Jeffrey Yasskin authored
the C++0x narrowing error. llvm-svn: 137512
-
Bill Wendling authored
they're the correct type. llvm-svn: 137511
-
Fariborz Jahanian authored
attribute of a property. patch by Remy Demarest fixes it. llvm-svn: 137509
-
Ted Kremenek authored
llvm-svn: 137508
-
Ted Kremenek authored
llvm-svn: 137507
-
Ted Kremenek authored
llvm-svn: 137506
-
Ted Kremenek authored
llvm-svn: 137505
-
Johnny Chen authored
llvm-svn: 137504
-
Johnny Chen authored
Skip the TestObjCDymaicValue.py tests for i386 due to dynamic types for ObjC V1 runtime not implemented yet. Radar to be filed. llvm-svn: 137503
-
Owen Anderson authored
Fix some remaining issues with decoding ARM-mode memory instructions, and add another batch of tests. llvm-svn: 137502
-
Bill Wendling authored
This implements the 'landingpad' instruction. It's used to indicate that a basic block is a landing pad. There are several restrictions on its use (see LangRef.html for more detail). These restrictions allow the exception handling code to gather the information it needs in a much more sane way. This patch has the definition, implementation, C interface, parsing, and bitcode support in it. llvm-svn: 137501
-
Johnny Chen authored
Add TestInferiorChanged.py to test that lldb reloads the inferior after it was changed during the debug session. First, main.c causes a crash, the inferior then gets re-built with main2.c which is not crashing. Add Base.cleanup(self, dictionary=None) for platform specfic way to do cleanup after build. This plugin method is used by the above test case to cleanup the main.c build before rebuild for main2.c. llvm-svn: 137500
-
Owen Anderson authored
llvm-svn: 137499
-
Ted Kremenek authored
[analyzer] Introduce new MemRegion, "TypedValueRegion", so that we can separate TypedRegions that implement getValueType() from those that don't. Patch by Olaf Krzikalla! llvm-svn: 137498
-
Chris Lattner authored
prevailing convention. Thanks to Dave Zarzycki for the patch. llvm-svn: 137497
-