[PATCH] Fix for size_t in Asan's new and delete operators on x64 FreeBSD in 32-bit mode

Alexey Samsonov samsonov at google.com
Fri Feb 21 07:13:52 PST 2014



================
Comment at: lib/asan/asan_new_delete.cc:52
@@ -51,1 +51,3 @@
 #if !SANITIZER_MAC
+namespace __asan {
+// System headers define 'size_t' incorrectly on x64 FreeBSD when
----------------
Nit: we can use anonymous namespace here.


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



More information about the llvm-commits mailing list