summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/MemoryTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/Support/MemoryTest.cpp')
-rw-r--r--llvm/unittests/Support/MemoryTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/MemoryTest.cpp b/llvm/unittests/Support/MemoryTest.cpp
index 33cc3edb815..dc5f606688f 100644
--- a/llvm/unittests/Support/MemoryTest.cpp
+++ b/llvm/unittests/Support/MemoryTest.cpp
@@ -50,7 +50,7 @@ class MappedMemoryTest : public ::testing::TestWithParam<unsigned> {
public:
MappedMemoryTest() {
Flags = GetParam();
- PageSize = sys::Process::getPageSize();
+ PageSize = sys::Process::getPageSizeEstimate();
}
protected:
OpenPOWER on IntegriCloud