diff options
author | Dean Michael Berris <dberris@google.com> | 2018-07-30 05:56:42 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2018-07-30 05:56:42 +0000 |
commit | 8a9847b189b05e3dcff81adc257c10050dd777e7 (patch) | |
tree | da428cd7ab05ed3b7b87f6a1f936a3b1ae67686d /include | |
parent | 6569caf725a318af12f079367488b0f68c682f30 (diff) |
[XRay][compiler-rt] FDR Mode: Use mmap instead of internal allocator
Summary:
This change moves FDR mode to use `internal_mmap(...)` from
sanitizer_common instead of the internal allocator interface. We're
doing this to sidestep the alignment issues we encounter with the
`InternalAlloc(...)` functions returning pointers that have some magic
bytes at the beginning.
XRay copies bytes into the buffer memory, and does not require the magic
bytes tracking the other sanitizers use when allocating/deallocating
buffers.
Reviewers: kpw, eizan
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D49972
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@338228 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions