summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objcopy/Object.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2017-10-11 23:41:32 +0000
committerPetr Hosek <phosek@chromium.org>2017-10-11 23:41:32 +0000
commit4f213ae3a7a3c3d688985696bd03d4ade73e9795 (patch)
tree47a38ea24263910c513ccf369d7e0c492c00db52 /llvm/tools/llvm-objcopy/Object.cpp
parent95d1004bbaa49a82054fe115669ce173310f510b (diff)
downloadbcm5719-llvm-4f213ae3a7a3c3d688985696bd03d4ade73e9795.tar.gz
bcm5719-llvm-4f213ae3a7a3c3d688985696bd03d4ade73e9795.zip
Reland "[sanitizer] Introduce ReservedAddressRange to sanitizer_common"
In Fuchsia, MmapNoAccess/MmapFixedOrDie are implemented using a global VMAR, which means that MmapNoAccess can only be called once. This works for the sanitizer allocator but *not* for the Scudo allocator. Hence, this changeset introduces a new ReservedAddressRange object to serve as the new API for these calls. In this changeset, the object still calls into the old Mmap implementations. The next changeset two changesets will convert the sanitizer and scudo allocators to use the new APIs, respectively. (ReservedAddressRange will replace the SecondaryHeader in Scudo.) Finally, a last changeset will update the Fuchsia implementation. Patch by Julia Hansbrough Differential Revision: https://reviews.llvm.org/D38437 llvm-svn: 315533
Diffstat (limited to 'llvm/tools/llvm-objcopy/Object.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud