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

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 21 21:41:30 PDT 2020


sepavloff marked an inline comment as done.
sepavloff 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);
----------------
hubert.reinterpretcast wrote:
> 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.
I created D82282 with workaround. Could you please check if it works? I don't have access to AIX.


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