diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-07-14 09:35:27 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-07-14 09:35:27 +0000 |
commit | 01ed54b80ea0c0b149ebe16a37f4ebd5480f96d1 (patch) | |
tree | b0bb78515f4cb2487f435d445161f8b2a47e7bd2 /lib/msan/msan_report.cc | |
parent | c04e5a27a95288d5641826b637f070fd69d00554 (diff) |
[msan] Stop demangling function name in the stack origin report.
This was done by calling __cxa_demangle directly, which is bad
when c++abi library is instrumented. The following line always
contains the demangled name (when running with a symbolizer) anyway.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@212929 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan_report.cc')
-rw-r--r-- | lib/msan/msan_report.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/msan/msan_report.cc b/lib/msan/msan_report.cc index 85e61e214..28dce8526 100644 --- a/lib/msan/msan_report.cc +++ b/lib/msan/msan_report.cc @@ -46,8 +46,8 @@ static void DescribeStackOrigin(const char *so, uptr pc) { Printf( " %sUninitialized value was created by an allocation of '%s%s%s'" " in the stack frame of function '%s%s%s'%s\n", - d.Origin(), d.Name(), s, d.Origin(), d.Name(), - Symbolizer::Get()->Demangle(sep + 1), d.Origin(), d.End()); + d.Origin(), d.Name(), s, d.Origin(), d.Name(), sep + 1, d.Origin(), + d.End()); InternalFree(s); if (pc) { |