[compiler-rt] r269310 - More fixup for r269288 and r269296. Adding the missing 'return'.

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Thu May 12 09:58:19 PDT 2016


Author: kuba.brecka
Date: Thu May 12 11:58:19 2016
New Revision: 269310

URL: http://llvm.org/viewvc/llvm-project?rev=269310&view=rev
Log:
More fixup for r269288 and r269296.  Adding the missing 'return'.


Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc?rev=269310&r1=269309&r2=269310&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc Thu May 12 11:58:19 2016
@@ -162,7 +162,7 @@ void internal__exit(int exitcode) {
 }
 
 unsigned int internal_sleep(unsigned int seconds) {
-  sleep(seconds);
+  return sleep(seconds);
 }
 
 uptr internal_getpid() {




More information about the llvm-commits mailing list