[PATCH] D83372: Fix for memory leak reported by Valgrind

Antonio Maiorano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 23 06:34:42 PST 2021


amaiorano added a comment.

@mwezdeck Do you think you can update this patch with the recommendations above, namely:

- Add a comment to llvm_shutdown to say it's only safe to call without any other threads executing LLVM APIs.
- Remove the locking of getManagedStaticMutex() in llvm_shutdown altogether.

It would be great to land this patch with these changes.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83372/new/

https://reviews.llvm.org/D83372



More information about the llvm-commits mailing list