166b89f089d6bec5bb9dd40470a4dc951ffc9daa |
|
19-Mar-2013 |
Greg Clayton <gclayton@apple.com> |
Fixed incorrect python that was trying to validate that we got a valid lldb.SBThread object by checking to see if it is equal to "None". This test is incorrect as functions that return lldb.SBThread objects never return None, they just return lldb.SBThread objects that contain invalid opaque classes. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177416 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/symbol-context/TestSymbolContext.py
|
21b1984e161b0cadee331d32bfd721eccfdf4b1f |
|
06-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Second batch of adding @dsym_test/@dwarf_test decorators to existing test cases. Plus some minor cleanup of test method names. Third and final batch is coming. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154197 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/symbol-context/TestSymbolContext.py
|
0a19a1b9c25117854f226256805239d95153ed2d |
|
04-Feb-2012 |
Greg Clayton <gclayton@apple.com> |
Convert all python objects in our API to use overload the __str__ method instead of the __repr__. __repr__ is a function that should return an expression that can be used to recreate an python object and we were using it to just return a human readable string. Fixed a crasher when using the new implementation of SBValue::Cast(SBType). Thread hardened lldb::SBValue and lldb::SBWatchpoint and did other general improvements to the API. Fixed a crasher in lldb::SBValue::GetChildMemberWithName() where we didn't correctly handle not having a target. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149743 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/symbol-context/TestSymbolContext.py
|
3d8ae4681b81b42a404ad77a231c6f743040e644 |
|
16-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
The extra burden for the Python API test case to assign its process object to self.process in order to have its process cleaned up (terminated) upon tearDown is gone for good. Let's simplify a bunch of Python API test cases. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133097 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/symbol-context/TestSymbolContext.py
|
805fec7ec90a09b94bc4515fcac9b2b03bae153b |
|
24-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Now that we have added a post-processing step for adding truth value testing to those lldb objects which implement the IsValid() method, let's change the rest of the test suite to use the more compact truth value testing pattern (the Python way). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131970 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/symbol-context/TestSymbolContext.py
|
eda90656e43ad30454c540aa74d9d6b84de89841 |
|
23-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Convert the rest of the test suite to use the lldbutil.get_description() utility function. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130041 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/symbol-context/TestSymbolContext.py
|
b015c217c427ccfca1c106a52f2730bb87b50e89 |
|
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Converted to use SBProcess.LaunchSimple(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129793 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/symbol-context/TestSymbolContext.py
|
77356a0e9bec77c6ed7eb23151bcd8de27fef902 |
|
03-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestTargetAPI.py: // When stopped on breakppint 1, and then 2, we can get the line entries using // SBFrame API SBFrame.GetLineEntry(). We'll get the start addresses for the // two line entries; with the start address (of SBAddress type), we can then // resolve the symbol context using the SBTarget API // SBTarget.ResolveSymbolContextForAddress(). // // The two symbol context should point to the same symbol, i.e., 'a' function. Add two utility functions to lldbutil.py: o get_stopped_threads(process, reason): return the list of threads with the specified stop reason or an empty list if not found o get_stopped_thread(process, reason): return the first thread with the given stop reason or None if not found git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126916 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/symbol-context/TestSymbolContext.py
|
4b1850a428ee4dd737bde68097cd15a8ccb2ecca |
|
04-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify test scripts to accomodate SBTarget.Launch() API change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124828 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/symbol-context/TestSymbolContext.py
|
5ec14f83253f65f51cc0aff15ac34c0f32750e5e |
|
23-Jan-2011 |
Greg Clayton <gclayton@apple.com> |
Deprecated old forms of SBTarget::Launch. There is not just one and no SWIG renaming done to work around deprecated APIs. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124075 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/symbol-context/TestSymbolContext.py
|
ba1c82d1626866ef818c3b575c0cdb4eb74b89ac |
|
22-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
No need to pass an empty string as an arg or as an env string to the SBTarget.LaunchProcess() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122450 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/symbol-context/TestSymbolContext.py
|
e404746f7d10a2e95111dbd294cfd7a52e884a1e |
|
16-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Use SBModule.GetDescription(SBStream) API to get the module description to match against. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/symbol-context/TestSymbolContext.py
|
002e8696020f084ce9425ff833099e9346454f2d |
|
16-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add python_api/symbol-context to test getting the symbol context while stopped on a frame and to exercise the methods of SBSymbolContext. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121941 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/symbol-context/TestSymbolContext.py
|