Fix warning for noreturn function
authorReid Kleckner <rnk@google.com>
Tue, 13 Dec 2016 19:01:41 +0000 (19:01 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 13 Dec 2016 19:01:41 +0000 (19:01 +0000)
llvm-svn: 289568

compiler-rt/lib/sanitizer_common/sanitizer_win.cc

index 0b7a38c..c4a57f0 100644 (file)
@@ -659,6 +659,7 @@ void internal__exit(int exitcode) {
   if (::IsDebuggerPresent())
     __debugbreak();
   TerminateProcess(GetCurrentProcess(), exitcode);
+  __assume(0);
 }
 
 uptr internal_ftruncate(fd_t fd, uptr size) {