[compiler-rt] [scudo] Move getResidentPages function (PR #183138)
Christopher Ferris via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 3 12:56:58 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:
I think you would get unsigned versus signed issues but since this is in Android only code, it might not show up.
https://github.com/llvm/llvm-project/pull/183138
More information about the llvm-commits
mailing list