Open Quuxplusone opened 6 years ago
Attached exit_race_condition.png
(232658 bytes, image/png): callstack
And seems workable fix/workaround is to add __gcov_flush before _exit():
extern "C" void __gcov_flush();
...
void lld::exitLld(int Val) {
...
__gcov_flush();
_exit(Val);
}
exit_race_condition.png
(232658 bytes, image/png)