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. llvm-svn: 171330
Showing
- llvm/include/llvm/Support/Process.h 20 additions, 0 deletionsllvm/include/llvm/Support/Process.h
- llvm/lib/Support/Process.cpp 8 additions, 0 deletionsllvm/lib/Support/Process.cpp
- llvm/lib/Support/Unix/Process.inc 7 additions, 4 deletionsllvm/lib/Support/Unix/Process.inc
- llvm/lib/Support/Windows/Process.inc 6 additions, 8 deletionsllvm/lib/Support/Windows/Process.inc
- llvm/unittests/Support/ProcessTest.cpp 2 additions, 0 deletionsllvm/unittests/Support/ProcessTest.cpp
Loading
Please register or sign in to comment