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 | f1ceb0b37668a3163563b18055bee9235d31473b (patch) | |
tree | 619dcfcdd40cc97d1bbdfdba4ac18914db30f6b4 /clang/unittests/Format/FormatTestJS.cpp | |
parent | a6869515cd9d644efd8a9bd4b02824a885503aca (diff) | |
download | bcm5719-llvm-f1ceb0b37668a3163563b18055bee9235d31473b.tar.gz bcm5719-llvm-f1ceb0b37668a3163563b18055bee9235d31473b.zip |
[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
llvm-svn: 338228
Diffstat (limited to 'clang/unittests/Format/FormatTestJS.cpp')
0 files changed, 0 insertions, 0 deletions