[compiler-rt] r208714 - [libsanitizer] Fix the return type of internal_fork
Alexander Potapenko
glider at google.com
Tue May 13 10:31:09 PDT 2014
Author: glider
Date: Tue May 13 12:31:09 2014
New Revision: 208714
URL: http://llvm.org/viewvc/llvm-project?rev=208714&view=rev
Log:
[libsanitizer] Fix the return type of internal_fork
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.h
compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.h?rev=208714&r1=208713&r2=208714&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.h Tue May 13 12:31:09 2014
@@ -91,7 +91,7 @@ uptr internal_waitpid(int pid, int *stat
uptr internal_getpid();
uptr internal_getppid();
-uptr internal_fork();
+int internal_fork();
// Threading
uptr internal_sched_yield();
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc?rev=208714&r1=208713&r2=208714&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc Tue May 13 12:31:09 2014
@@ -501,7 +501,7 @@ uptr internal_sigaltstack(const struct s
return internal_syscall(SYSCALL(sigaltstack), (uptr)ss, (uptr)oss);
}
-uptr internal_fork() {
+int internal_fork() {
return internal_syscall(SYSCALL(fork));
}
More information about the llvm-commits
mailing list