[PATCH] D89993: [GWP-ASan] Refactor memory mapping functions

Roland McGrath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 26 13:06:33 PDT 2020


mcgrathr accepted this revision.
mcgrathr added a comment.

Thanks!



================
Comment at: compiler-rt/lib/gwp_asan/guarded_pool_allocator.h:130-131
+  // deallocateInGuardedPool(). Each mapping is named on platforms that support
+  // it, primarily Android. This name must be a statically allocated string, as
+  // the Android kernel uses the string pointer directly.
+  void *map(size_t Size, const char *Name) const;
----------------
Fuchsia supports it too and doesn't have this constraint.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89993/new/

https://reviews.llvm.org/D89993



More information about the llvm-commits mailing list