mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-27 11:55:49 +00:00
<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:
parent
f0bc1ec767
commit
e397a94c5d
@ -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.
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user