On Windows, child workers are terminated by the parent during the normal
program exit process (ExitProcess()) and they are not able to finish generating
their OpenMP events. We can force manual library shut down in __kmpc_end() to
fix this at least for the cases where __kmpc_end() is properly inserted.
Details
Details
- Reviewers
AndreyChurbanov tlwilmar jlpeyton - Commits
- rG8bb8a92de9fb: [OpenMP] Shutdown library on Windows if possible for better OMPT behavior
rOMP343619: [OpenMP] Shutdown library on Windows if possible for better OMPT behavior
rL343619: [OpenMP] Shutdown library on Windows if possible for better OMPT behavior
Diff Detail
Diff Detail
- Repository
- rL LLVM