summaryrefslogtreecommitdiff
path: root/compiler-rt/lib/scudo/standalone/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/scudo/standalone/common.h')
-rw-r--r--compiler-rt/lib/scudo/standalone/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/scudo/standalone/common.h b/compiler-rt/lib/scudo/standalone/common.h
index e5dfda2e9072..8adcebd55698 100644
--- a/compiler-rt/lib/scudo/standalone/common.h
+++ b/compiler-rt/lib/scudo/standalone/common.h
@@ -148,6 +148,10 @@ inline constexpr uptr getPageSizeLogCached() {
extern uptr PageSizeCached;
extern uptr PageSizeLogCached;
+// Must be defined in platform specific code.
+uptr getPageSize();
+
+// Always calls getPageSize(), but caches the results for get*Cached(), below.
uptr getPageSizeSlow();
inline uptr getPageSizeCached() {