summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/CodeExtractor.cpp
diff options
context:
space:
mode:
authorDan Liew <dan@su-root.co.uk>2018-11-08 17:50:34 +0000
committerDan Liew <dan@su-root.co.uk>2018-11-08 17:50:34 +0000
commit7383b4fba43c77e803927d5aaac4ec5f2ae7f6b9 (patch)
treee2e521991c128597eaf63fc6bc7abbe9cb90fea1 /llvm/lib/Transforms/Utils/CodeExtractor.cpp
parentd66f4e472a04b79f13b065eb6b5276545d723c1b (diff)
downloadbcm5719-llvm-7383b4fba43c77e803927d5aaac4ec5f2ae7f6b9.tar.gz
bcm5719-llvm-7383b4fba43c77e803927d5aaac4ec5f2ae7f6b9.zip
Introduce `sanitizer_malloc_introspect_t` for Darwin which is a sub-class of Darwin's `malloc_introspection_t` and use it when setting up the malloc zone.
Summary: Currently `sanitizer_malloc_introspection_t` just adds a version field which is used to version the allocator ABI. The current allocator ABI version is returned by the new `GetMallocZoneAllocatorEnumerationVersion()` function. The motivation behind this change is to allow external processes to determine the allocator ABI of a sanitized process. rdar://problem/45284065 Reviewers: kubamracek, george.karpenkov, vitalybuka Subscribers: #sanitizers, llvm-commits Differential Revision: https://reviews.llvm.org/D54045 llvm-svn: 346420
Diffstat (limited to 'llvm/lib/Transforms/Utils/CodeExtractor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud