================
@@ -1,11 +1,13 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include <unistd.h>
+
+#include <threads.h>
----------------
SuibianP wrote:

Turns out Apple does not yet support C11 `threads.h`.

https://github.com/llvm/llvm-project/blob/7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1/clang/lib/Basic/Targets/OSTargets.cpp#L61-L62

Changed test case to use C++11 `thread` which is supported.

https://github.com/llvm/llvm-project/pull/121269
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to