[compiler-rt] d36180e - [scudo] Fix typo.
Christopher Ferris via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 17 19:26:33 PDT 2023
Author: Christopher Ferris
Date: 2023-08-17T19:26:21-07:00
New Revision: d36180e6e2c050a15cf94349737914e161283008
URL: https://github.com/llvm/llvm-project/commit/d36180e6e2c050a15cf94349737914e161283008
DIFF: https://github.com/llvm/llvm-project/commit/d36180e6e2c050a15cf94349737914e161283008.diff
LOG: [scudo] Fix typo.
I copied this over incorrectly from my android tree. So fix the typo.
Reviewed By: Chia-hungDuan
Differential Revision: https://reviews.llvm.org/D158240
Added:
Modified:
compiler-rt/lib/scudo/standalone/common.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/scudo/standalone/common.h b/compiler-rt/lib/scudo/standalone/common.h
index dec7c56b1b2371..c39b8b20d5414d 100644
--- a/compiler-rt/lib/scudo/standalone/common.h
+++ b/compiler-rt/lib/scudo/standalone/common.h
@@ -134,7 +134,7 @@ uptr getPageSizeSlow();
inline uptr getPageSizeCached() {
#if SCUDO_ANDROID && defined(PAGE_SIZE)
// Most Android builds have a build-time constant page size.
- return PAGESIZE;
+ return PAGE_SIZE;
#endif
if (LIKELY(PageSizeCached))
return PageSizeCached;
More information about the llvm-commits
mailing list