obj2yaml: Use the correct relocation type for different machine types
[oota-llvm.git] / unittests / Support / MemoryTest.cpp
index 4164713fcb3402da936252ebae9f9c91c2931f84..fae67a8dd2569a495b8aef11fc348b4849ac1ef2 100644 (file)
@@ -21,7 +21,7 @@ class MappedMemoryTest : public ::testing::TestWithParam<unsigned> {
 public:
   MappedMemoryTest() {
     Flags = GetParam();
-    PageSize = sys::Process::GetPageSize();
+    PageSize = sys::process::get_self()->page_size();
   }
 
 protected: