[PATCH] D47642: [asan, myriad] Implement aligned local pool allocation

Walter Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 1 13:46:40 PDT 2018


waltl added a comment.

In https://reviews.llvm.org/D47642#1119518, @alekseyshl wrote:

> Are you solving a particular problem or you're just anticipating one?


It's a problem I encountered on RTEMS, where we use this memory for a different purpose.  See https://reviews.llvm.org/D46465.



================
Comment at: compiler-rt/lib/asan/asan_malloc_linux.cc:175
+#else
+#include "asan_malloc_rtems.inc"
+#endif // !SANITIZER_RTEMS
----------------
alekseyshl wrote:
> Let's do it for all platforms, for simplicity and match the malloc implementation.
Ok.



Repository:
  rL LLVM

https://reviews.llvm.org/D47642





More information about the llvm-commits mailing list