[PATCH] D47751: [lsan] Do not check for leaks in the forked process

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 5 10:26:09 PDT 2018


alekseyshl accepted this revision.
alekseyshl added inline comments.
This revision is now accepted and ready to land.


================
Comment at: compiler-rt/lib/lsan/lsan_common.cc:577
+  if (initialized_for_pid != internal_getpid())
+    return false;
   EnsureMainThreadIDIsCorrect();
----------------
It might be a good idea to print something to the log explaining that lsan is pretty much disabled.  On the other hand, not sure how spammy that would be. Up to you.


Repository:
  rL LLVM

https://reviews.llvm.org/D47751





More information about the llvm-commits mailing list