[msan] Use internal__exit() instead of _exit().
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 19 Jan 2015 09:20:28 +0000 (09:20 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 19 Jan 2015 09:20:28 +0000 (09:20 +0000)
llvm-svn: 226437

compiler-rt/lib/msan/msan_linux.cc

index e172525..51ff064 100644 (file)
@@ -137,7 +137,7 @@ void MsanDie() {
     __sanitizer_cov_dump();
   if (death_callback)
     death_callback();
-  _exit(flags()->exit_code);
+  internal__exit(flags()->exit_code);
 }
 
 static void MsanAtExit(void) {