diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2017-04-27 20:21:16 +0000 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2017-04-27 20:21:16 +0000 |
commit | 36b34341613bad4be3e872cdfd1fe039fbb075d7 (patch) | |
tree | 4a7322ef4705266ce6f6546d9097a8371b1f585b /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 9a08ad8abdef9100cc23eb673a20e62b8f126ab0 (diff) | |
download | llvm-36b34341613bad4be3e872cdfd1fe039fbb075d7.zip llvm-36b34341613bad4be3e872cdfd1fe039fbb075d7.tar.gz llvm-36b34341613bad4be3e872cdfd1fe039fbb075d7.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions