forked from OSchip/llvm-project
![]() Summary: This change introduces scudo_tls.h & scudo_tls_linux.cpp, where we move the thread local variables used by the allocator, namely the cache, quarantine cache & prng. `ScudoThreadContext` will hold those. This patch doesn't introduce any new platform support yet, this will be the object of a later patch. This also changes the PRNG so that the structure can be POD. Reviewers: kcc, dvyukov, alekseyshl Reviewed By: dvyukov, alekseyshl Subscribers: llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D32440 llvm-svn: 301584 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
scudo_allocator.cpp | ||
scudo_allocator.h | ||
scudo_allocator_secondary.h | ||
scudo_crc32.cpp | ||
scudo_flags.cpp | ||
scudo_flags.h | ||
scudo_flags.inc | ||
scudo_interceptors.cpp | ||
scudo_new_delete.cpp | ||
scudo_termination.cpp | ||
scudo_tls.h | ||
scudo_tls_linux.cpp | ||
scudo_tls_linux.h | ||
scudo_utils.cpp | ||
scudo_utils.h |