[PATCH] D36803: Create new VMARs on calls to MmapNoAccess.
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 16 15:08:44 PDT 2017
phosek added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_fuchsia.cc:251
size = RoundUpTo(size, PAGE_SIZE);
- CHECK_EQ(allocator_vmar, MX_HANDLE_INVALID);
+ if (allocator_vmar != MX_HANDLE_INVALID) {
+ _mx_handle_close(allocator_vmar);
----------------
I think there is closing } missing.
https://reviews.llvm.org/D36803
More information about the llvm-commits
mailing list