diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-10-29 05:31:25 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-10-29 05:31:25 +0000 |
commit | a687d2593f44f532d27cbf65002452c2396dce5c (patch) | |
tree | bd376c0a0459da591557be151dcb43455a5b172c /compiler-rt/lib/lsan | |
parent | 51bfb820ccfa2142ada23f16a3af460695a50250 (diff) | |
download | bcm5719-llvm-a687d2593f44f532d27cbf65002452c2396dce5c.tar.gz bcm5719-llvm-a687d2593f44f532d27cbf65002452c2396dce5c.zip |
[Sanitizer] Simplify StackTrace::PrintStack interface: prefer common flags to turn on/off the symbolization
llvm-svn: 193587
Diffstat (limited to 'compiler-rt/lib/lsan')
-rw-r--r-- | compiler-rt/lib/lsan/lsan_common.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/lsan/lsan_common.cc b/compiler-rt/lib/lsan/lsan_common.cc index 8a3bc2e36e3..e305c0e2318 100644 --- a/compiler-rt/lib/lsan/lsan_common.cc +++ b/compiler-rt/lib/lsan/lsan_common.cc @@ -295,7 +295,7 @@ static void PrintStackTraceById(u32 stack_trace_id) { CHECK(stack_trace_id); uptr size = 0; const uptr *trace = StackDepotGet(stack_trace_id, &size); - StackTrace::PrintStack(trace, size, common_flags()->symbolize, 0); + StackTrace::PrintStack(trace, size); } // ForEachChunk callback. Aggregates unreachable chunks into a LeakReport. |