Page MenuHomePhabricator

WIP: Speed-up leak and address sanitizers lsan prototype
Needs ReviewPublic

Authored by brzycki on May 9 2019, 3:50 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

WIP for discussion in D60243

Diff Detail

Event Timeline

brzycki created this revision.May 9 2019, 3:50 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 9 2019, 3:50 PM
Herald added subscribers: llvm-commits, Restricted Project, kubamracek. · View Herald Transcript
vitalybuka added inline comments.
compiler-rt/lib/sanitizer_common/sanitizer_allocator_primary_pair.h
12

Not sure that we need #ifndef SANITIZER_ALLOCATOR_H here

still regular protection would be nice:

#ifndef SANITIZER_ALLOCATOR_PRIMARY_PAIR
#define SANITIZER_ALLOCATOR_PRIMARY_PAIR
...

16

with "static bool" in the header each module will have one version of var.
let make it static member of the SizeClassAllocatorPair