[all-commits] [llvm/llvm-project] 7d850d: [lldb] Don't use ::fork or ::vfork on watchOS or tvOS
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Mon Apr 26 09:32:09 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7d850db6b6438221555b800d31ef5dc63f50dc89
https://github.com/llvm/llvm-project/commit/7d850db6b6438221555b800d31ef5dc63f50dc89
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2021-04-26 (Mon, 26 Apr 2021)
Changed paths:
M lldb/test/API/tools/lldb-server/main.cpp
Log Message:
-----------
[lldb] Don't use ::fork or ::vfork on watchOS or tvOS
Update lldb-server to not use fork or vfork on watchOS and tvOS as these
functions are explicitly marked unavailable there.
llvm-project/lldb/test/API/tools/lldb-server/main.cpp:304:11:
error: 'fork' is unavailable: not available on watchOS
if (fork() == 0)
^
WatchSimulator6.2.sdk/usr/include/unistd.h:447:8: note: 'fork' has been
explicitly marked unavailable here
pid_t fork(void) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
^
llvm-project/lldb/test/API/tools/lldb-server/main.cpp:307:11:
error: 'vfork' is unavailable: not available on watchOS
if (vfork() == 0)
^
WatchSimulator6.2.sdk/usr/include/unistd.h:602:8: note: 'vfork' has been
explicitly marked unavailable here
pid_t vfork(void) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
^
More information about the All-commits
mailing list