diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-12-19 11:25:05 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-12-19 11:25:05 +0000 |
commit | 90269644e0ade3185c3f5fc97096cfd813b40622 (patch) | |
tree | 0565cdbb239ddcb44162e29d961c14b35c6388d3 /lib/asan/asan_stack.h | |
parent | e4752af46f45283c22f91f3e4ea3bcf7d671e7f7 (diff) |
[ASan] Get rid of ASan-specific functions for printing stack traces
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@197672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_stack.h')
-rw-r--r-- | lib/asan/asan_stack.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/asan/asan_stack.h b/lib/asan/asan_stack.h index 6a6ffe44e..ac7f275bb 100644 --- a/lib/asan/asan_stack.h +++ b/lib/asan/asan_stack.h @@ -19,13 +19,6 @@ #include "sanitizer_common/sanitizer_flags.h" #include "sanitizer_common/sanitizer_stacktrace.h" -namespace __asan { - -void PrintStack(StackTrace *stack); -void PrintStack(const uptr *trace, uptr size); - -} // namespace __asan - // Get the stack trace with the given pc and bp. // The pc will be in the position 0 of the resulting stack trace. // The bp may refer to the current frame or to the caller's frame. @@ -80,7 +73,7 @@ void PrintStack(const uptr *trace, uptr size); #define PRINT_CURRENT_STACK() \ { \ GET_STACK_TRACE_FATAL_HERE; \ - PrintStack(&stack); \ + stack.Print(); \ } #endif // ASAN_STACK_H |