[PATCH] D49972: [XRay][compiler-rt] FDR Mode: Use mmap instead of internal allocator

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 29 22:35:19 PDT 2018


devnexen added inline comments.


================
Comment at: compiler-rt/lib/xray/xray_buffer_queue.cc:24
+// no-op on NetBSD (at least), unsupported flag on FreeBSD
+#define MAP_NORESERVE 0
+#endif
----------------
Wout it be useful to "refactor" it somewhere as it s already present in away_allocator ?


https://reviews.llvm.org/D49972





More information about the llvm-commits mailing list