forked from OSchip/llvm-project
Remove a FIXME now that I can't reproduce the problem
llvm-svn: 194331
This commit is contained in:
parent
10737e80b0
commit
e87f5701bb
|
@ -383,8 +383,6 @@ void StackTrace::SlowUnwindStack(uptr pc, uptr max_depth) {
|
||||||
size = CaptureStackBackTrace(2, Min(max_depth, kStackTraceMax),
|
size = CaptureStackBackTrace(2, Min(max_depth, kStackTraceMax),
|
||||||
(void**)trace, 0);
|
(void**)trace, 0);
|
||||||
// Skip the RTL frames by searching for the PC in the stacktrace.
|
// Skip the RTL frames by searching for the PC in the stacktrace.
|
||||||
// FIXME: this doesn't work well for the malloc/free stacks yet - consider
|
|
||||||
// adjusting the pc_threshold.
|
|
||||||
uptr pc_location = LocatePcInTrace(pc);
|
uptr pc_location = LocatePcInTrace(pc);
|
||||||
PopStackFrames(pc_location);
|
PopStackFrames(pc_location);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue