summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_stack.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2013-10-28 13:05:32 +0000
committerDmitry Vyukov <dvyukov@google.com>2013-10-28 13:05:32 +0000
commitcf7259c09490a96b88dd9f38552184e0c9322772 (patch)
treee7bdae388b485662139f24b64d9633927ebff689 /compiler-rt/lib/asan/asan_stack.cc
parent33dd200ba9fccb1eb4ab8f022809405533684b3a (diff)
downloadbcm5719-llvm-cf7259c09490a96b88dd9f38552184e0c9322772.tar.gz
bcm5719-llvm-cf7259c09490a96b88dd9f38552184e0c9322772.zip
asan/msan: separate different report blocks with new lines
this makes the reports consistent with tsan, and much more readable. llvm-svn: 193520
Diffstat (limited to 'compiler-rt/lib/asan/asan_stack.cc')
-rw-r--r--compiler-rt/lib/asan/asan_stack.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/asan_stack.cc b/compiler-rt/lib/asan/asan_stack.cc
index cbc151cc1ba..b70ee81410e 100644
--- a/compiler-rt/lib/asan/asan_stack.cc
+++ b/compiler-rt/lib/asan/asan_stack.cc
@@ -26,12 +26,14 @@ static bool MaybeCallAsanSymbolize(const void *pc, char *out_buffer,
void PrintStack(const uptr *trace, uptr size) {
if (!trace) {
- Printf("<empty stack>\n");
+ Printf("<empty stack>\n\n");
return;
}
StackTrace::PrintStack(trace, size, common_flags()->symbolize,
MaybeCallAsanSymbolize);
+ Printf("\n");
}
+
void PrintStack(StackTrace *stack) {
PrintStack(stack->trace, stack->size);
}
OpenPOWER on IntegriCloud