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/lsan/lsan_interceptors.cc | |
parent | 70db33e143303752c7fe8800d15b5b31066b1e0d (diff) |
[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/lsan/lsan_interceptors.cc')
-rw-r--r-- | lib/lsan/lsan_interceptors.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/lsan/lsan_interceptors.cc b/lib/lsan/lsan_interceptors.cc index e169191c7..1605c0f03 100644 --- a/lib/lsan/lsan_interceptors.cc +++ b/lib/lsan/lsan_interceptors.cc @@ -44,9 +44,9 @@ int pthread_setspecific(unsigned key, const void *v); stack_top = t->stack_end(); \ stack_bottom = t->stack_begin(); \ } \ - GetStackTrace(&stack, __sanitizer::common_flags()->malloc_context_size, \ - StackTrace::GetCurrentPc(), \ - GET_CURRENT_FRAME(), stack_top, stack_bottom, fast); \ + stack.Unwind(__sanitizer::common_flags()->malloc_context_size, \ + StackTrace::GetCurrentPc(), \ + GET_CURRENT_FRAME(), stack_top, stack_bottom, fast); \ } ///// Malloc/free interceptors. ///// |