llvm-project/compiler-rt/lib/scudo
Kostya Kortchinsky 36b3434161 [scudo] Move thread local variables into their own files
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
2017-04-27 20:21:16 +00:00
..
CMakeLists.txt [scudo] Move thread local variables into their own files 2017-04-27 20:21:16 +00:00
scudo_allocator.cpp [scudo] Move thread local variables into their own files 2017-04-27 20:21:16 +00:00
scudo_allocator.h [scudo] Move thread local variables into their own files 2017-04-27 20:21:16 +00:00
scudo_allocator_secondary.h [scudo] Minor changes and refactoring 2017-04-20 15:11:00 +00:00
scudo_crc32.cpp [scudo] Refactor of CRC32 and ARM runtime CRC32 detection 2017-01-18 17:11:17 +00:00
scudo_flags.cpp [scudo] 32-bit quarantine sizes adjustments and bug fixes 2017-02-03 20:49:42 +00:00
scudo_flags.h [scudo] 32-bit and hardware agnostic support 2016-11-30 17:32:20 +00:00
scudo_flags.inc [scudo] 32-bit quarantine sizes adjustments and bug fixes 2017-02-03 20:49:42 +00:00
scudo_interceptors.cpp [scudo] 32-bit and hardware agnostic support 2016-11-30 17:32:20 +00:00
scudo_new_delete.cpp [scudo] 32-bit and hardware agnostic support 2016-11-30 17:32:20 +00:00
scudo_termination.cpp [scudo] 32-bit and hardware agnostic support 2016-11-30 17:32:20 +00:00
scudo_tls.h [scudo] Move thread local variables into their own files 2017-04-27 20:21:16 +00:00
scudo_tls_linux.cpp [scudo] Move thread local variables into their own files 2017-04-27 20:21:16 +00:00
scudo_tls_linux.h [scudo] Move thread local variables into their own files 2017-04-27 20:21:16 +00:00
scudo_utils.cpp [scudo] Move thread local variables into their own files 2017-04-27 20:21:16 +00:00
scudo_utils.h [scudo] Move thread local variables into their own files 2017-04-27 20:21:16 +00:00