[PATCH] D121858: [scudo] Don't unmap other low memory pages if mapping doesn't exist

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 16 15:31:50 PDT 2022


vitalybuka accepted this revision.
vitalybuka added inline comments.
This revision is now accepted and ready to land.


================
Comment at: compiler-rt/lib/scudo/standalone/primary64.h:93
+    if (PrimaryBase)
+      unmap(reinterpret_cast<void *>(PrimaryBase), PrimarySize, UNMAP_ALL, &Data);
     PrimaryBase = 0U;
----------------
please clangformat


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121858



More information about the llvm-commits mailing list