[compiler-rt] [scudo] Move getResidentPages function (PR #183138)

Christopher Ferris via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 15:48:04 PST 2026


================
@@ -35,31 +35,33 @@ TEST(ScudoCommonTest, VerifyGetResidentPages) {
   // Only android seems to properly detect when single pages are touched.
 #if SCUDO_ANDROID
   // Verify nothing should be mapped in right after the map is created.
-  EXPECT_EQ(0U, getResidentPages(MemMap.getBase(), SizeBytes));
+  EXPECT_EQ(0U, MemMap.getResidentPages(MemMap.getBase(), SizeBytes));
----------------
cferris1000 wrote:

It seems Android doesn't care about this signed/unsigned check. Not sure why, but it seems fine as is.

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


More information about the llvm-commits mailing list