[PATCH] [LSan] Common leak checking module.

Sergey Matveev earthdok at google.com
Wed May 15 05:04:39 PDT 2013



================
Comment at: lib/lsan/lsan_common_linux.cc:108
@@ +107,3 @@
+// ld-linux.so as reachable.
+void ProcessSpecialAllocations(InternalVector<uptr> *frontier, Flags *flags) {
+  if (!flags->use_tls()) return;
----------------
Kostya Serebryany wrote:
> passing Flags here looks weird. 
> Either don't use them here at all, or move the flags() function into the .h file (as it is done in e.g. asan)
done


http://llvm-reviews.chandlerc.com/D787



More information about the llvm-commits mailing list