This is an archive of the discontinued LLVM Phabricator instance.

WIP: Speed-up leak and address sanitizers lsan prototype
AbandonedPublic

Authored by brzycki on May 9 2019, 3:50 PM.

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

brzycki abandoned this revision.Feb 12 2020, 11:58 AM