We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b214bd4 commit 3d7e9c8Copy full SHA for 3d7e9c8
compiler-rt/lib/asan/asan_stack.cc
@@ -42,12 +42,12 @@ void __sanitizer::BufferedStackTrace::UnwindImpl(
42
uptr stack_top = t->stack_top();
43
uptr stack_bottom = t->stack_bottom();
44
ScopedUnwinding unwind_scope(t);
45
- if (!SANITIZER_MIPS || IsValidFrame(bp, stack_top, stack_bottom)) {
46
- if (StackTrace::WillUseFastUnwind(request_fast))
47
- Unwind(max_depth, pc, bp, nullptr, stack_top, stack_bottom, true);
48
- else
49
- Unwind(max_depth, pc, bp, context, 0, 0, false);
50
- }
+ if (SANITIZER_MIPS && !IsValidFrame(bp, stack_top, stack_bottom))
+ return;
+ if (StackTrace::WillUseFastUnwind(request_fast))
+ Unwind(max_depth, pc, bp, nullptr, stack_top, stack_bottom, true);
+ else
+ Unwind(max_depth, pc, bp, context, 0, 0, false);
51
} else if (!t && !request_fast) {
52
/* If GetCurrentThread() has failed, try to do slow unwind anyways. */
53
Unwind(max_depth, pc, bp, context, 0, 0, false);
0 commit comments