aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-rc/ResourceScriptParser.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2017-10-11 19:17:35 +0000
committerPetr Hosek <phosek@chromium.org>2017-10-11 19:17:35 +0000
commit2bd0123afcca81f0578841bc6d5c6e052f60d2f0 (patch)
tree2d9c5e5b585bb85636da8c955706289d84292f06 /llvm/tools/llvm-rc/ResourceScriptParser.cpp
parent734cad8790a1ff0b3c246a5629747075057c1ded (diff)
downloadllvm-2bd0123afcca81f0578841bc6d5c6e052f60d2f0.zip
llvm-2bd0123afcca81f0578841bc6d5c6e052f60d2f0.tar.gz
llvm-2bd0123afcca81f0578841bc6d5c6e052f60d2f0.tar.bz2
[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/D38759 llvm-svn: 315493
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.cpp')
0 files changed, 0 insertions, 0 deletions