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 | f882247088952deed954a19d745c2dd8871e2035 (patch) | |
tree | bfc16c4bc0a7d167ad0dcf03ac9affde66b95e6c /lib/asan/asan_report.cc | |
parent | 97234eb4239b64c2f55f4dcec8c061d2b7f51505 (diff) | |
download | compiler-rt-f882247088952deed954a19d745c2dd8871e2035.tar.gz compiler-rt-f882247088952deed954a19d745c2dd8871e2035.tar.bz2 compiler-rt-f882247088952deed954a19d745c2dd8871e2035.tar.xz |
[Sanitizer] use raw syscall instead of _exit() function on Linux
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_report.cc')
-rw-r--r-- | lib/asan/asan_report.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asan/asan_report.cc b/lib/asan/asan_report.cc index 32252cbf..8fa42f71 100644 --- a/lib/asan/asan_report.cc +++ b/lib/asan/asan_report.cc @@ -435,9 +435,9 @@ class ScopedInErrorReport { // an error report will finish doing it. SleepForSeconds(Max(100, flags()->sleep_before_dying + 1)); } - // If we're still not dead for some reason, use raw Exit() instead of + // If we're still not dead for some reason, use raw _exit() instead of // Die() to bypass any additional checks. - Exit(flags()->exitcode); + internal__exit(flags()->exitcode); } ASAN_ON_ERROR(); reporting_thread_tid = asanThreadRegistry().GetCurrentTidOrInvalid(); |