summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_stack.cc
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-11-01 00:19:46 +0000
committerAlexey Samsonov <samsonov@google.com>2013-11-01 00:19:46 +0000
commit4708c5912b321b47154ee79be27ff62ea5794c76 (patch)
tree641cf50b8a6b1055c7c1aab747d7ee4f9e0b5afb /compiler-rt/lib/asan/asan_stack.cc
parent3c5ac81032217df8b4b81838fd16f51a1003699a (diff)
downloadbcm5719-llvm-4708c5912b321b47154ee79be27ff62ea5794c76.tar.gz
bcm5719-llvm-4708c5912b321b47154ee79be27ff62ea5794c76.zip
Consistently use StackTrace::PrintStack in ASan, LSan and MSan
llvm-svn: 193834
Diffstat (limited to 'compiler-rt/lib/asan/asan_stack.cc')
-rw-r--r--compiler-rt/lib/asan/asan_stack.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler-rt/lib/asan/asan_stack.cc b/compiler-rt/lib/asan/asan_stack.cc
index 7fa9e05aae7..0bc5a5f2d03 100644
--- a/compiler-rt/lib/asan/asan_stack.cc
+++ b/compiler-rt/lib/asan/asan_stack.cc
@@ -25,12 +25,7 @@ static bool MaybeCallAsanSymbolize(const void *pc, char *out_buffer,
}
void PrintStack(const uptr *trace, uptr size) {
- if (!trace) {
- Printf("<empty stack>\n\n");
- return;
- }
StackTrace::PrintStack(trace, size, MaybeCallAsanSymbolize);
- Printf("\n");
}
void PrintStack(StackTrace *stack) {
OpenPOWER on IntegriCloud