[PATCH] Support Asan procmaps on FreeBSD

Alexey Samsonov samsonov at google.com
Wed May 7 13:09:32 PDT 2014


Please fix revision name and provide a motivation for the change in description.

================
Comment at: lib/asan/asan_mapping.h:100
@@ -83,1 +99,3 @@
 #    define SHADOW_OFFSET kMIPS32_ShadowOffset32
+#  elif defined(__FreeBSD__)
+#    define SHADOW_OFFSET kFreeBSD_ShadowOffset32
----------------
Consider using SANITIZER_FREEBSD here.

http://reviews.llvm.org/D3656






More information about the llvm-commits mailing list