LSan cannot build backtrace when works with SWAP.
So don't check for reachability.
Change-Id: Ifa0a01b83f8167ae37bd52c29a631ba326a53a82
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
// guaranteed to include all dynamic TLS blocks (and possibly other allocations
// which we don't care about).
void ProcessPlatformSpecificAllocations(Frontier *frontier) {
+ // SWAP workaround:
+ // LSan cannot build backtrace when works with SWAP. So don't check
+ // for reachability.
+ return;
if (!flags()->use_tls) return;
if (!linker) return;
StackDepotReverseMap stack_depot_reverse_map;