[Openmp-commits] [openmp] [OpenMP] Fix work-stealing stack clobber with taskwait (PR #126049)
via Openmp-commits
openmp-commits at lists.llvm.org
Sat Feb 8 09:28:18 PST 2025
jprotze wrote:
Thanks @jpeyton52 for digging into the issue.
My suggestion is to add the assertions from 812b49251ed61d079ff47dfd5a65fd926d09e16a (but not the fprintf).
I would prefer to keep the current stack object and add the while loop before the other return statement. The advantage is that issues like observed here break more obviously and can be fixed rather than failing silently. The current patch would lead to silent memory leaks.
https://github.com/llvm/llvm-project/pull/126049
More information about the Openmp-commits
mailing list