[lsan] Fix r182256.
Add missing call to GetUserBegin(). llvm-svn: 182267
This commit is contained in:
parent
b144d36693
commit
6dd91e475a
|
|
@ -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()))) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue