diff options
author | Vitaly Buka <vitalybuka@google.com> | 2017-11-09 07:48:53 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2017-11-09 07:48:53 +0000 |
commit | c43a93ec7c2af132af17b29a1b2ae23fb67f049c (patch) | |
tree | 3ece0b291ac07eaf18046119848d1652d2bf99e4 /lib/msan/msan.cc | |
parent | 1e2459adf26a8930e9b63baa3a8b4da2fcfb70b5 (diff) |
[msan] Add context argument into GetStackTrace
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@317773 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan.cc')
-rw-r--r-- | lib/msan/msan.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/msan/msan.cc b/lib/msan/msan.cc index d2981f0b0..3f85a9a66 100644 --- a/lib/msan/msan.cc +++ b/lib/msan/msan.cc @@ -218,14 +218,14 @@ static void InitializeFlags() { } void GetStackTrace(BufferedStackTrace *stack, uptr max_s, uptr pc, uptr bp, - bool request_fast_unwind) { + void *context, bool request_fast_unwind) { MsanThread *t = GetCurrentThread(); if (!t || !StackTrace::WillUseFastUnwind(request_fast_unwind)) { // Block reports from our interceptors during _Unwind_Backtrace. SymbolizerScope sym_scope; - return stack->Unwind(max_s, pc, bp, nullptr, 0, 0, request_fast_unwind); + return stack->Unwind(max_s, pc, bp, context, 0, 0, request_fast_unwind); } - stack->Unwind(max_s, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), + stack->Unwind(max_s, pc, bp, context, t->stack_top(), t->stack_bottom(), request_fast_unwind); } |