File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
compiler-rt/lib/sanitizer_common Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 8383# endif
8484
8585# if SANITIZER_ANDROID && __ANDROID_API__ < 35
86- // The weak strerrorname_np definition allows to check for the API level at runtime.
86+ // The weak strerrorname_np definition allows to check for the API level at
87+ // runtime.
8788extern " C" SANITIZER_WEAK_ATTRIBUTE const char * strerrorname_np (int );
8889# endif
8990
@@ -1219,8 +1220,9 @@ uptr GetPageSize() {
12191220 CHECK_EQ (rv, 0 );
12201221 return (uptr)pz;
12211222# elif SANITIZER_USE_GETAUXVAL
1222-
12231223# if SANITIZER_ANDROID && __ANDROID_API__ < 35
1224+ // The 16 KB page size was introduced in Android 15, while earlier versions
1225+ // of Android used a 4 KB page size.
12241226 if (!strerrorname_np)
12251227 return 4096 ;
12261228# endif
You can’t perform that action at this time.
0 commit comments