Flesh out a page size accessor in the new API.
authorChandler Carruth <chandlerc@gmail.com>
Mon, 31 Dec 2012 23:23:35 +0000 (23:23 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 31 Dec 2012 23:23:35 +0000 (23:23 +0000)
commit814afe91ccad0e5e1f767303d780fa0318fa5212
tree9905492e5626775b81a12370475b4325f59b8e3e
parent02d75477cd9bed5acf46979869f041e7f9726200
Flesh out a page size accessor in the new API.

Implement the old API in terms of the new one. This simplifies the
implementation on Windows which can now re-use the self_process's once
initialization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171330 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Process.h
lib/Support/Process.cpp
lib/Support/Unix/Process.inc
lib/Support/Windows/Process.inc
unittests/Support/ProcessTest.cpp