commit | b9c9ce7dfdc0564ddc64f409a995265a3ee89634 | [log] [tgz] |
---|---|---|
author | Sergey Matveev <earthdok@google.com> | Mon May 20 14:04:56 2013 +0000 |
committer | Sergey Matveev <earthdok@google.com> | Mon May 20 14:04:56 2013 +0000 |
tree | 953cad139830b9f5f9b3b538a3f019702fb1216c | |
parent | b812409721eb6b8c039fb748658313c531d0f2bb [diff] |
[lsan] Fix r182256. Add missing call to GetUserBegin(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182267 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/lsan/lsan_common_linux.cc b/lib/lsan/lsan_common_linux.cc index a354aee..b09e2f9 100644 --- a/lib/lsan/lsan_common_linux.cc +++ b/lib/lsan/lsan_common_linux.cc
@@ -101,6 +101,7 @@ } void ProcessPlatformSpecificAllocationsCb::operator()(void *p) const { + p = GetUserBegin(p); LsanMetadata m(p); if (m.allocated() && m.tag() != kReachable) { if (linker->containsAddress(GetCallerPC(m.stack_trace_id()))) {