diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2013-08-16 17:33:57 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2013-08-16 17:33:57 +0000 |
| commit | 0009850524f72183c49b506f3eb4c3bdc5f3a0d4 (patch) | |
| tree | 6937e5610dcb4b6523e626e69381aa0bacf73d53 /lib | |
| parent | 6d3aa547a522ae53c3aff6b40f0a23f9a22dcd87 (diff) | |
| download | external_llvm-0009850524f72183c49b506f3eb4c3bdc5f3a0d4.zip external_llvm-0009850524f72183c49b506f3eb4c3bdc5f3a0d4.tar.gz external_llvm-0009850524f72183c49b506f3eb4c3bdc5f3a0d4.tar.bz2 | |
Removing unused functionality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188565 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Support/Unix/Process.inc | 8 | ||||
| -rw-r--r-- | lib/Support/Windows/Process.inc | 10 |
2 files changed, 0 insertions, 18 deletions
diff --git a/lib/Support/Unix/Process.inc b/lib/Support/Unix/Process.inc index 3731618..538f05f 100644 --- a/lib/Support/Unix/Process.inc +++ b/lib/Support/Unix/Process.inc @@ -140,14 +140,6 @@ void Process::GetTimeUsage(TimeValue &elapsed, TimeValue &user_time, llvm::tie(user_time, sys_time) = getRUsageTimes(); } -int Process::GetCurrentUserId() { - return getuid(); -} - -int Process::GetCurrentGroupId() { - return getgid(); -} - #if defined(HAVE_MACH_MACH_H) && !defined(__GNU__) #include <mach/mach.h> #endif diff --git a/lib/Support/Windows/Process.inc b/lib/Support/Windows/Process.inc index e47c4c0..38d5bc7 100644 --- a/lib/Support/Windows/Process.inc +++ b/lib/Support/Windows/Process.inc @@ -119,16 +119,6 @@ void Process::GetTimeUsage(TimeValue &elapsed, TimeValue &user_time, sys_time = getTimeValueFromFILETIME(KernelTime); } -int Process::GetCurrentUserId() -{ - return 65536; -} - -int Process::GetCurrentGroupId() -{ - return 65536; -} - // Some LLVM programs such as bugpoint produce core files as a normal part of // their operation. To prevent the disk from filling up, this configuration // item does what's necessary to prevent their generation. |
