From 60ff94b3ef5074d9da936d9ef59274bc11b43e07 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Thu, 3 Apr 2014 16:11:53 +0100 Subject: Replace sys::Process::GetCurrentUserId() with getuid() because it has been removed in LLVM3.4 --- lib/Core/StatsTracker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Core/StatsTracker.cpp b/lib/Core/StatsTracker.cpp index 1bb9885a..bbea2a98 100644 --- a/lib/Core/StatsTracker.cpp +++ b/lib/Core/StatsTracker.cpp @@ -440,7 +440,7 @@ void StatsTracker::writeIStats() { of << "version: 1\n"; of << "creator: klee\n"; - of << "pid: " << sys::Process::GetCurrentUserId() << "\n"; + of << "pid: " << getuid() << "\n"; of << "cmd: " << m->getModuleIdentifier() << "\n\n"; of << "\n"; -- cgit 1.4.1