[PATCH] [Asan] Fix the tsd_dtor_leak.cc test to pass on FreeBSD

Alexey Samsonov vonosmas at gmail.com
Thu Dec 11 13:07:35 PST 2014


LGTM


================
Comment at: test/asan/TestCases/Posix/tsd_dtor_leak.cc:38
@@ +37,3 @@
+#if defined(__FreeBSD__)
+    if (i > 0)
+      old_heap_size = new_heap_size;
----------------
Please add a comment about why you need this on FreeBSD.

http://reviews.llvm.org/D6590

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list