[llvm] [llvm-exegesis] Refactor MMAP platform-specific preprocessor directives (PR #75422)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 14 01:07:00 PST 2023
================
@@ -32,6 +32,21 @@
#include "llvm/TargetParser/SubtargetFeature.h"
#include "llvm/TargetParser/Triple.h"
+// Before kernel 4.17, Linux did not support MAP_FIXED_NOREPLACE, so if it is
----------------
boomanaiden154 wrote:
Good point. Moved over to `MmapUtils.h`.
https://github.com/llvm/llvm-project/pull/75422
More information about the llvm-commits
mailing list