[all-commits] [llvm/llvm-project] 5e50d3: [compiler-rt][Profile] Wait for child threads in s...

David Spickett via All-commits all-commits at lists.llvm.org
Fri Sep 3 11:49:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e50d3073a5ead122a731580ded3f1cb3c21ee54
      https://github.com/llvm/llvm-project/commit/5e50d3073a5ead122a731580ded3f1cb3c21ee54
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2021-09-03 (Fri, 03 Sep 2021)

  Changed paths:
    M compiler-rt/test/profile/ContinuousSyncMode/set-file-object.c

  Log Message:
  -----------
  [compiler-rt][Profile] Wait for child threads in set-file-object test

We've been seeing this test return 31 instead of 32 for the "functions"
line in this test on our AArch64 bots.

One possible cause is some of the children not finishing in time
before the llvm-profdata commands are run, if the machine is heavily loaded.

Wait for all the children to finish before exiting the parent.

Reviewed By: zequanwu

Differential Revision: https://reviews.llvm.org/D109222




More information about the All-commits mailing list