From 4cda6e058b9e8ab0f7118e836794d29409ef4223 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Fri, 7 Oct 2011 22:23:45 +0000 Subject: 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 --- lldb/test/python_api/target/TestTargetAPI.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lldb/test/python_api/target/TestTargetAPI.py') 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) -- cgit v1.2.3