diff options
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r-- | llvm/lib/Support/Unix/Process.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Support/Unix/Process.inc b/llvm/lib/Support/Unix/Process.inc index 5204147ce31..dedc4430d6f 100644 --- a/llvm/lib/Support/Unix/Process.inc +++ b/llvm/lib/Support/Unix/Process.inc @@ -44,6 +44,12 @@ using namespace llvm; using namespace sys; + +process::id_type self_process::get_id() { + return getpid(); +} + + unsigned Process::GetPageSize() { |