[Lldb-commits] [lldb] r193879 - <rdar://problem/15368142>
Enrico Granata
egranata at apple.com
Fri Nov 1 11:48:03 PDT 2013
Author: enrico
Date: Fri Nov 1 13:48:03 2013
New Revision: 193879
URL: http://llvm.org/viewvc/llvm-project?rev=193879&view=rev
Log:
<rdar://problem/15368142>
For this test case, one needs to get the name of the symbol since we don't have debug info to generate an SBFunction
Modified:
lldb/trunk/test/api/multithreaded/TestMultithreaded.py
lldb/trunk/test/api/multithreaded/test_listener_event_process_state.cpp
Modified: lldb/trunk/test/api/multithreaded/TestMultithreaded.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/api/multithreaded/TestMultithreaded.py?rev=193879&r1=193878&r2=193879&view=diff
==============================================================================
--- lldb/trunk/test/api/multithreaded/TestMultithreaded.py (original)
+++ lldb/trunk/test/api/multithreaded/TestMultithreaded.py Fri Nov 1 13:48:03 2013
@@ -39,7 +39,6 @@ class SBBreakpointCallbackCase(TestBase)
@skipIfFreeBSD # llvm.org/pr16696
@skipIfi386
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
- @unittest2.skipUnless(sys.platform.startswith("darwin")==False, "skip on Darwin")
def test_sb_api_listener_event_process_state(self):
""" Test that a registered SBListener receives events when a process
changes state.
Modified: lldb/trunk/test/api/multithreaded/test_listener_event_process_state.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/api/multithreaded/test_listener_event_process_state.cpp?rev=193879&r1=193878&r2=193879&view=diff
==============================================================================
--- lldb/trunk/test/api/multithreaded/test_listener_event_process_state.cpp (original)
+++ lldb/trunk/test/api/multithreaded/test_listener_event_process_state.cpp Fri Nov 1 13:48:03 2013
@@ -45,7 +45,7 @@ void listener_func() {
// send each frame function name
uint32_t num_frames = thread.GetNumFrames();
for(int j = 0; j < num_frames; ++j) {
- const char* function_name = thread.GetFrameAtIndex(j).GetFunction().GetName();
+ const char* function_name = thread.GetFrameAtIndex(j).GetSymbol().GetName();
if (function_name)
g_frame_functions.push(function_name);
}
More information about the lldb-commits
mailing list