[PATCH] D31884: Don't delete lsan thread-local data until it's no longer required
Aleksey Shlyapnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 11 11:13:17 PDT 2017
alekseyshl accepted this revision.
alekseyshl added inline comments.
This revision is now accepted and ready to land.
================
Comment at: lib/lsan/lsan_common_mac.cc:39
+void restore_tid_data(void *ptr) {
+ if (!ptr)
+ return;
----------------
Just curious, is !ptr check necessary?
https://reviews.llvm.org/D31884
More information about the llvm-commits
mailing list