[PATCH] D78901: [Support] Get process statistics in ExecuteAndWait and Wait

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 19 09:45:41 PDT 2020


hubert.reinterpretcast added inline comments.


================
Comment at: llvm/lib/Support/Unix/Program.inc:364
   do {
-    WaitResult.Pid = waitpid(ChildPid, &status, WaitPidOptions);
+    WaitResult.Pid = wait4(ChildPid, &status, WaitPidOptions, &Info);
   } while (WaitUntilTerminates && WaitResult.Pid == -1 && errno == EINTR);
----------------
Noting here that the functionality in not available on AIX via this BSD interface. Are there plans to increase dependency on this functionality? As it is, our builds are broken.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78901/new/

https://reviews.llvm.org/D78901





More information about the llvm-commits mailing list