[compiler-rt] [scudo][NFC] Add a default unmap() to unmap all pages (PR #102234)

Christopher Ferris via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 6 15:01:25 PDT 2024


================
@@ -50,7 +50,7 @@ TEST(ScudoCommonTest, SKIP_ON_FUCHSIA(ResidentMemorySize)) {
   memset(P, 1, Size);
   EXPECT_GT(getResidentMemorySize(), OnStart + Size - Threshold);
 
-  MemMap.unmap(MemMap.getBase(), Size);
----------------
cferris1000 wrote:

I presume that the usage of Size here was incorrect and this was supposed to be a clean-up, correct?

https://github.com/llvm/llvm-project/pull/102234


More information about the llvm-commits mailing list