[PATCH] D65851: [Sanitizer] Using huge page on FreeBSD for shadow mapping
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 7 13:44:29 PDT 2019
vitalybuka added inline comments.
================
Comment at: compiler-rt/lib/asan/asan_shadow_setup.cpp:40
}
SetShadowRegionHugePageMode(beg, size);
if (common_flags()->use_madv_dontdump) DontDumpShadowMemory(beg, size);
----------------
SetShadowRegionHugePageMode should go into MmapFixedSuperNoReserve
================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp:335
+#else
+ return MmapFixedNoReserve(fixed_addr, size, name);
+#endif
----------------
SetShadowRegionHugePageMode()
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65851/new/
https://reviews.llvm.org/D65851
More information about the llvm-commits
mailing list