Skip to content

Commit b17a047

Browse files
authored
[compiler-rt] Fix comment.
1 parent 8997cc5 commit b17a047

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@
8383
# endif
8484

8585
# if SANITIZER_ANDROID && __ANDROID_API__ < 35
86-
// The weak strerrorname_np definition allows to check for the API level at
87-
// runtime.
86+
// The weak `strerrorname_np` (introduced in API level 35) definition,
87+
// allows for checking the API level at runtime.
8888
extern "C" SANITIZER_WEAK_ATTRIBUTE const char *strerrorname_np(int);
8989
# endif
9090

@@ -1221,8 +1221,8 @@ uptr GetPageSize() {
12211221
return (uptr)pz;
12221222
# elif SANITIZER_USE_GETAUXVAL
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.
1224+
// The 16 KB page size was introduced in Android 15 (API level 35), while
1225+
// earlier versions of Android always used a 4 KB page size.
12261226
if (!strerrorname_np)
12271227
return 4096;
12281228
# endif

0 commit comments

Comments
 (0)