mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 23:36:40 +00:00
On AArch64, use clone() instead of fork()
Patch by Gideon Billings. Differential Revision: http://reviews.llvm.org/D3903 llvm-svn: 209641
This commit is contained in:
parent
3bc64d54a9
commit
7b15cf8884
@ -508,7 +508,11 @@ uptr internal_sigaltstack(const struct sigaltstack *ss,
|
||||
}
|
||||
|
||||
int internal_fork() {
|
||||
#if SANITIZER_USES_CANONICAL_LINUX_SYSCALLS
|
||||
return internal_syscall(SYSCALL(clone), SIGCHLD, 0);
|
||||
#else
|
||||
return internal_syscall(SYSCALL(fork));
|
||||
#endif
|
||||
}
|
||||
|
||||
#if SANITIZER_LINUX
|
||||
|
Loading…
x
Reference in New Issue
Block a user