summaryrefslogtreecommitdiff
path: root/lib/msan/msan.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msan/msan.cc')
-rw-r--r--lib/msan/msan.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/msan/msan.cc b/lib/msan/msan.cc
index ba2723433..cfa074182 100644
--- a/lib/msan/msan.cc
+++ b/lib/msan/msan.cc
@@ -153,8 +153,11 @@ static void GetCurrentStackBounds(uptr *stack_top, uptr *stack_bottom) {
void GetStackTrace(StackTrace *stack, uptr max_s, uptr pc, uptr bp,
bool fast) {
- if (!fast)
+ if (!fast) {
+ // Block reports from our interceptors during _Unwind_Backtrace.
+ SymbolizerScope sym_scope;
return stack->SlowUnwindStack(pc, max_s);
+ }
uptr stack_top, stack_bottom;
GetCurrentStackBounds(&stack_top, &stack_bottom);