MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / unwindStub

Method unwindStub

src/stackFrame_arm.cpp:67–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66
67bool StackFrame::unwindStub(instruction_t* entry, const char* name, uintptr_t& pc, uintptr_t& sp, uintptr_t& fp) {
68 instruction_t* ip = (instruction_t*)pc;
69 if (ip == entry || *ip == 0xe12fff1e
70 || startsWith(name, "itable")
71 || startsWith(name, "vtable")
72 || streq(name, "InlineCacheBuffer"))
73 {
74 pc = link();
75 return true;
76 }
77 return false;
78}
79
80bool StackFrame::unwindPrologue(NMethod* nm, uintptr_t& pc, uintptr_t& sp, uintptr_t& fp) {
81 instruction_t* ip = (instruction_t*)pc;

Callers 1

walkVMMethod · 0.45

Calls 2

startsWithFunction · 0.85
streqFunction · 0.85

Tested by

no test coverage detected