diff options
author | Kostya Serebryany <kcc@google.com> | 2013-02-21 10:57:10 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@gcc.gnu.org> | 2013-02-21 10:57:10 +0000 |
commit | 7df59255e1accc8f95b4d90d1a17c60cd0e6e40e (patch) | |
tree | 0ad34c195787ec507c5bcdbb710bf127eb3a2fb5 /libsanitizer/sanitizer_common/sanitizer_win.cc | |
parent | 22deefcbb7c556a99fd72c1fb92a3a35b6dfd4b4 (diff) | |
download | gcc-7df59255e1accc8f95b4d90d1a17c60cd0e6e40e.zip gcc-7df59255e1accc8f95b4d90d1a17c60cd0e6e40e.tar.gz gcc-7df59255e1accc8f95b4d90d1a17c60cd0e6e40e.tar.bz2 |
libsanitizer merge from upstream r175733
From-SVN: r196201
Diffstat (limited to 'libsanitizer/sanitizer_common/sanitizer_win.cc')
-rw-r--r-- | libsanitizer/sanitizer_common/sanitizer_win.cc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libsanitizer/sanitizer_common/sanitizer_win.cc b/libsanitizer/sanitizer_common/sanitizer_win.cc index 3d5cde1..6952655 100644 --- a/libsanitizer/sanitizer_common/sanitizer_win.cc +++ b/libsanitizer/sanitizer_common/sanitizer_win.cc @@ -129,6 +129,10 @@ const char *GetPwd() { UNIMPLEMENTED(); } +u32 GetUid() { + UNIMPLEMENTED(); +} + void DumpProcessMap() { UNIMPLEMENTED(); } @@ -161,10 +165,6 @@ void SleepForMillis(int millis) { Sleep(millis); } -void Exit(int exitcode) { - _exit(exitcode); -} - void Abort() { abort(); _exit(-1); // abort is not NORETURN on Windows. @@ -251,6 +251,10 @@ int internal_sched_yield() { return 0; } +void internal__exit(int exitcode) { + _exit(exitcode); +} + // ---------------------- BlockingMutex ---------------- {{{1 const uptr LOCK_UNINITIALIZED = 0; const uptr LOCK_READY = (uptr)-1; |