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/value/TestValueAPI.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/value/TestValueAPI.py
|
ab881d86a527f17df84c200322b2e5c9bf64b0de |
|
16-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
While we are at it, verify that 'my_int_ptr' points to 'g_my_int', using the SBTarget.ResolveLoadAddress() to get its SBAddress, and SBAddress.GetSymbol() to get the corresponding symbol. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144728 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/value/TestValueAPI.py
|
f24f1cd1584fd2af8f3dfa6919fe493b86b17729 |
|
15-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test scenario for value.GetChildAtIndex(0) where value is a pointer to a simple type. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144697 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/value/TestValueAPI.py
|
638ebcfea6328816ba5e9fd21e40cf5d3f060e2e |
|
23-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add an additional formatter class RecursiveDecentFormatter which prints the value and the decendents. For an example, rdf = lldbutil.RecursiveDecentFormatter(indent_child=2) print rdf.format(g_table) produces: (const char **[2]) g_table = 0x00000001055a80f0 (location) (const char **) [0] = 0x00000001055a8080 (const char *) *[0] = "Sunday" (const char **) [1] = 0x00000001055a80c0 (const char *) *[1] = "Monday" git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135815 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/value/TestValueAPI.py
|
084fd8945b922818e069adfb72ac39936466e221 |
|
22-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add BasicFormatter and ChildVisitingFormatter utility classes to the lldbutil.py module which provide some convenient ways to print an SBValue object. Use that in TestValueAPI.py to print the 'days_of_week' char* array variable. For an example: cvf = lldbutil.ChildVisitingFormatter(indent=2) print cvf.format(days_of_week) produces: (const char *[7]) days_of_week = 0x00000001026a5060 (location) (const char *) [0] = "Sunday" (const char *) [1] = "Monday" (const char *) [2] = "Tuesday" (const char *) [3] = "Wednesday" (const char *) [4] = "Thursday" (const char *) [5] = "Friday" (const char *) [6] = "Saturday" git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135736 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/value/TestValueAPI.py
|
62ebe5aca6d93eecba7c9917440107f4b24a09cd |
|
22-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test scenario of SBValue APIs for the 'days_of_week' global variable. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135716 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/value/TestValueAPI.py
|
4b067250787b3d1763a58fa142cc21cf995e942c |
|
21-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test scenario for exercising SBValue API: TypeIsPointerType() and GetByteSize(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135699 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/value/TestValueAPI.py
|
5503d468e43aae7d047c9b98baf626fc5b6c352d |
|
16-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestValueAPI.py to exercise the newly added/modified SBValue APIs: o GetChildAtIndex, and o GetValueForExpressionPath git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135315 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/value/TestValueAPI.py
|