diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-10-12 12:23:00 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-10-12 12:23:00 +0000 |
commit | 80175018541984bdcfe6a304bb189bd30592fa8a (patch) | |
tree | 74bd6e190fc6b06439646881fc201a3262082cd6 /lib/asan/asan_stack.h | |
parent | 70db33e143303752c7fe8800d15b5b31066b1e0d (diff) | |
download | compiler-rt-80175018541984bdcfe6a304bb189bd30592fa8a.tar.gz compiler-rt-80175018541984bdcfe6a304bb189bd30592fa8a.tar.bz2 compiler-rt-80175018541984bdcfe6a304bb189bd30592fa8a.tar.xz |
[Sanitizer] Turn GetStackTrace() into StackTrace::Unwind()
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192533 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_stack.h')
-rw-r--r-- | lib/asan/asan_stack.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asan/asan_stack.h b/lib/asan/asan_stack.h index 31e6a1b5..fefd76b5 100644 --- a/lib/asan/asan_stack.h +++ b/lib/asan/asan_stack.h @@ -31,7 +31,7 @@ void PrintStack(StackTrace *stack); #if SANITIZER_WINDOWS #define GET_STACK_TRACE_WITH_PC_AND_BP(max_s, pc, bp, fast) \ StackTrace stack; \ - GetStackTrace(&stack, max_s, pc, bp, 0, 0, fast) + stack.Unwind(max_s, pc, bp, 0, 0, fast) #else #define GET_STACK_TRACE_WITH_PC_AND_BP(max_s, pc, bp, fast) \ StackTrace stack; \ @@ -42,7 +42,7 @@ void PrintStack(StackTrace *stack); uptr stack_top = t->stack_top(); \ uptr stack_bottom = t->stack_bottom(); \ ScopedUnwinding unwind_scope(t); \ - GetStackTrace(&stack, max_s, pc, bp, stack_top, stack_bottom, fast); \ + stack.Unwind(max_s, pc, bp, stack_top, stack_bottom, fast); \ } \ } #endif // SANITIZER_WINDOWS |