diff options
| author | Sergey Matveev <earthdok@google.com> | 2013-05-20 14:04:56 +0000 |
|---|---|---|
| committer | Sergey Matveev <earthdok@google.com> | 2013-05-20 14:04:56 +0000 |
| commit | 6dd91e475add3a70dd660357ed471b859a3ca1c0 (patch) | |
| tree | aa8293e76bb258735a4d24d3252aa0e0d2cb40e1 | |
| parent | b144d366934f3160ff4b1341db47dd15cd2a8c18 (diff) | |
| download | bcm5719-llvm-6dd91e475add3a70dd660357ed471b859a3ca1c0.tar.gz bcm5719-llvm-6dd91e475add3a70dd660357ed471b859a3ca1c0.zip | |
[lsan] Fix r182256.
Add missing call to GetUserBegin().
llvm-svn: 182267
| -rw-r--r-- | compiler-rt/lib/lsan/lsan_common_linux.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/lsan/lsan_common_linux.cc b/compiler-rt/lib/lsan/lsan_common_linux.cc index a354aeeb2ee..b09e2f9f20a 100644 --- a/compiler-rt/lib/lsan/lsan_common_linux.cc +++ b/compiler-rt/lib/lsan/lsan_common_linux.cc @@ -101,6 +101,7 @@ static uptr GetCallerPC(u32 stack_id) { } 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()))) { |

