[PATCH] Interceptors for standalone LSan.

Kostya Serebryany kcc at google.com
Wed May 8 07:20:28 PDT 2013



================
Comment at: lib/lsan/lsan_interceptors.cc:32
@@ +31,3 @@
+extern "C" {
+int pthread_attr_init(void *attr);
+int pthread_attr_destroy(void *attr);
----------------
Do you really need these here? 
Can you move them to sanitizer_common/*linux.cc (or reuse the existing ones)

================
Comment at: lib/lsan/lsan_interceptors.cc:15
@@ +14,3 @@
+
+#include <errno.h>
+#include <stdlib.h>
----------------
asan_interceptors.cc manages w/o these includes. Can you? 


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



More information about the llvm-commits mailing list