summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/target/TestTargetAPI.py
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-10-07 22:23:45 +0000
committerJim Ingham <jingham@apple.com>2011-10-07 22:23:45 +0000
commit4cda6e058b9e8ab0f7118e836794d29409ef4223 (patch)
tree12d8f241d15d37803ba507fb2af38ca85eeb765c /lldb/test/python_api/target/TestTargetAPI.py
parentdccc2b2277cc1280b24698bb2b10f8520f57dc8f (diff)
downloadbcm5719-llvm-4cda6e058b9e8ab0f7118e836794d29409ef4223.tar.gz
bcm5719-llvm-4cda6e058b9e8ab0f7118e836794d29409ef4223.zip
Move the responsibility for translating the various eFunctionNameType lookups to the
SymbolFIle (it was done mostly in the BreakpointResolverName resolver before.) Then tailor our searches to the way the indexed maps are laid out. This removes a bunch of test case failures using indexed dSYM's. llvm-svn: 141428
Diffstat (limited to 'lldb/test/python_api/target/TestTargetAPI.py')
-rw-r--r--lldb/test/python_api/target/TestTargetAPI.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/python_api/target/TestTargetAPI.py b/lldb/test/python_api/target/TestTargetAPI.py
index 81d250b497f..e0cfa477238 100644
--- a/lldb/test/python_api/target/TestTargetAPI.py
+++ b/lldb/test/python_api/target/TestTargetAPI.py
@@ -120,6 +120,9 @@ class TargetAPITestCase(TestBase):
# Now launch the process, and do not stop at entry point.
process = target.LaunchSimple(None, None, os.getcwd())
self.assertTrue(process, PROCESS_IS_VALID)
+ # Make sure we hit our breakpoint:
+ thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, breakpoint)
+ self.assertTrue (len(thread_list) == 1)
value_list = target.FindGlobalVariables('my_global_var_of_char_type', 3)
self.assertTrue(value_list.GetSize() == 1)
OpenPOWER on IntegriCloud