History log of /external/lldb/test/python_api/function_symbol/TestSymbolAPI.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/function_symbol/TestSymbolAPI.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/function_symbol/TestSymbolAPI.py
3e8c25f62f92145b6fb699b379cbfe72b1245d4a 24-Sep-2011 Greg Clayton <gclayton@apple.com> Added to the public API to allow symbolication:
- New SBSection objects that are object file sections which can be accessed
through the SBModule classes. You can get the number of sections, get a
section at index, and find a section by name.
- SBSections can contain subsections (first find "__TEXT" on darwin, then
us the resulting SBSection to find "__text" sub section).
- Set load addresses for a SBSection in the SBTarget interface
- Set the load addresses of all SBSection in a SBModule in the SBTarget interface
- Add a new module the an existing target in the SBTarget interface
- Get a SBSection from a SBAddress object

This should get us a lot closer to being able to symbolicate using LLDB through
the public API.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140437 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/function_symbol/TestSymbolAPI.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/function_symbol/TestSymbolAPI.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/function_symbol/TestSymbolAPI.py
257c608e31752b65f54ced4d5646954c29382149 19-Apr-2011 Johnny Chen <johnny.chen@apple.com> Converted to use SBProcess.LaunchSimple() API.
And use self.TraceOn() in order to print more debug output.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/function_symbol/TestSymbolAPI.py
919ee60577297be31eb69f14a5901e7c6170a9ca 01-Apr-2011 Johnny Chen <johnny.chen@apple.com> Add TestSymbolAPI.py to test the newly added SBSymbol and SBAddress APIs:

lldb::SymbolType SBSymbol::GetType();

lldb::SectionType SBAddress::GetSectionType ();
lldb::SBModule SBAddress::GetModule ();

Also add an lldb::SBModule::GetUUIDString() API which is easier for Python
to work with in the test script.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128695 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/function_symbol/TestSymbolAPI.py