projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e516eab
)
Fix warning for noreturn function
author
Reid Kleckner
<rnk@google.com>
Tue, 13 Dec 2016 19:01:41 +0000
(19:01 +0000)
committer
Reid 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
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/sanitizer_common/sanitizer_win.cc
b/compiler-rt/lib/sanitizer_common/sanitizer_win.cc
index
0b7a38c
..
c4a57f0
100644
(file)
--- a/
compiler-rt/lib/sanitizer_common/sanitizer_win.cc
+++ b/
compiler-rt/lib/sanitizer_common/sanitizer_win.cc
@@
-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) {