This is an archive of the discontinued LLVM Phabricator instance.

Fix for https://bugs.llvm.org/show_bug.cgi?id=36705
ClosedPublic

Authored by AndreyChurbanov on Mar 19 2018, 10:30 AM.

Details

Summary

Debug build of the OpenMP RTL fails with assertion because of wrong th_reap_state flag during library shutdown.
The fix is to mark a thread SAFE_TO_REAP when it is put into the pool of free threads.

Diff Detail

Repository
rL LLVM

Event Timeline

This revision is now accepted and ready to land.Mar 19 2018, 11:02 AM
This revision was automatically updated to reflect the committed changes.