aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2019-06-10 16:50:52 +0000
committerKostya Kortchinsky <kostyak@google.com>2019-06-10 16:50:52 +0000
commit52bfd673d1553c4722db2612c99f03eb227a480d (patch)
tree5d39cf04abaa1c868e1083267a2dd700c75cc7a1 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent9aff1ddc14f31af7f8b5a275246df574b969f8ec (diff)
downloadllvm-52bfd673d1553c4722db2612c99f03eb227a480d.zip
llvm-52bfd673d1553c4722db2612c99f03eb227a480d.tar.gz
llvm-52bfd673d1553c4722db2612c99f03eb227a480d.tar.bz2
[scudo][standalone] Introduce the thread specific data structures
Summary: This CL adds the structures dealing with thread specific data for the allocator. This includes the thread specific data structure itself and two registries for said structures: an exclusive one, where each thread will have its own TSD struct, and a shared one, where a pool of TSD structs will be shared by all threads, with dynamic reassignment at runtime based on contention. This departs from the current Scudo implementation: we intend to make the Registry a template parameter of the allocator (as opposed to a single global entity), allowing various allocators to coexist with different TSD registry models. As a result, TSD registry and Allocator are tightly coupled. This also corrects a couple of things in other files that I noticed while adding this. Reviewers: eugenis, vitalybuka, morehouse, hctim Reviewed By: morehouse Subscribers: srhines, mgorny, delcypher, jfb, #sanitizers, llvm-commits Tags: #llvm, #sanitizers Differential Revision: https://reviews.llvm.org/D62258 llvm-svn: 362962
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions