aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2017-04-27 20:21:16 +0000
committerKostya Kortchinsky <kostyak@google.com>2017-04-27 20:21:16 +0000
commit36b34341613bad4be3e872cdfd1fe039fbb075d7 (patch)
tree4a7322ef4705266ce6f6546d9097a8371b1f585b /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parent9a08ad8abdef9100cc23eb673a20e62b8f126ab0 (diff)
downloadllvm-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