aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Unix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Unix')
-rw-r--r--lib/Support/Unix/Process.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Support/Unix/Process.inc b/lib/Support/Unix/Process.inc
index 5204147ce3..dedc4430d6 100644
--- a/lib/Support/Unix/Process.inc
+++ b/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()
{