diff options
| author | Alexey Samsonov <samsonov@google.com> | 2013-02-20 13:54:32 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2013-02-20 13:54:32 +0000 |
| commit | aadd1f2ad65712a974a1c49997c47adb23e3809d (patch) | |
| tree | 2c7513cacceed399aee8866050cd8cdd533b6081 /compiler-rt/lib/sanitizer_common/sanitizer_win.cc | |
| parent | 5c3e21ba5534184e95cb20af055b64f4ca1b06e9 (diff) | |
| download | bcm5719-llvm-aadd1f2ad65712a974a1c49997c47adb23e3809d.tar.gz bcm5719-llvm-aadd1f2ad65712a974a1c49997c47adb23e3809d.zip | |
[Sanitizer] use raw syscall instead of _exit() function on Linux
llvm-svn: 175622
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_win.cc')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_win.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_win.cc b/compiler-rt/lib/sanitizer_common/sanitizer_win.cc index 4fe3ece6c4d..40af4e3708f 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_win.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_win.cc @@ -167,10 +167,6 @@ void SleepForMillis(int millis) { Sleep(millis); } -void Exit(int exitcode) { - _exit(exitcode); -} - void Abort() { abort(); _exit(-1); // abort is not NORETURN on Windows. @@ -257,6 +253,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; |

