We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e10f3f commit 04d66b2Copy full SHA for 04d66b2
compiler-rt/test/profile/Posix/instrprof-fork.c
@@ -35,6 +35,8 @@ int main(void) {
35
} // |
36
} // ------------+------------
37
int status; // 20 10 | 1 0
38
- wait(&status); // (*) the child inherits counter values prior to fork
+ i = 10;
39
+ while (i-- > 0)
40
+ wait(&status); // (*) the child inherits counter values prior to fork
41
return 0; // from the parent in non-continuous mode.
42
}
0 commit comments