summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2019-06-25 16:51:27 +0000
committerKostya Kortchinsky <kostyak@google.com>2019-06-25 16:51:27 +0000
commit37340e3cd62d7855abedbef4bd859e2ba98a1cd3 (patch)
tree8e53f5d5eafe266f15a949967f397da3b3f21f65 /llvm/lib
parente8de8ba6a637c60d53db2433c0962c3fdbbdbf5c (diff)
downloadbcm5719-llvm-37340e3cd62d7855abedbef4bd859e2ba98a1cd3.tar.gz
bcm5719-llvm-37340e3cd62d7855abedbef4bd859e2ba98a1cd3.zip
[scudo][standalone] Introduce the C & C++ wrappers
Summary: This CL adds C & C++ wrappers and associated tests. Those use default configurations for a Scudo combined allocator that will likely be tweaked in the future. This is the final CL required to have a functional C & C++ allocator based on Scudo. The structure I have chosen is to define the core C allocation primitives in an `.inc` file that can be customized through defines. This allows to easily have 2 (or more) sets of wrappers backed by different combined allocators, as demonstrated by the `Bionic` wrappers: one set for the "default" allocator, one set for the "svelte" allocator. Currently all the tests added have been gtests, but I am planning to add some more lit tests as well. Reviewers: morehouse, eugenis, vitalybuka, hctim, rengolin Reviewed By: morehouse Subscribers: srhines, mgorny, delcypher, jfb, #sanitizers, llvm-commits Tags: #llvm, #sanitizers Differential Revision: https://reviews.llvm.org/D63612 llvm-svn: 364332
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud