<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

llvm-svn: 193879
This commit is contained in:
Enrico Granata 2013-11-01 18:48:03 +00:00
parent f0bc1ec767
commit e397a94c5d
2 changed files with 1 additions and 2 deletions

View File

@ -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.

View File

@ -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);
}