[PATCH] Add FreeBSD 9.2 support to asan_linux.cc

Alexey Samsonov samsonov at google.com
Tue Mar 11 07:49:17 PDT 2014


  LGTM (but please address the nit before submitting).


================
Comment at: lib/asan/asan_linux.cc:44
@@ +43,3 @@
+// and 32-bit modes.
+#if SANITIZER_FREEBSD
+#include <sys/param.h>
----------------
Please fix the indentation in directives.

  #if SANITIZER_FREEBSD
  # include <sys/param.h>
  # if __FreeBSD_version <= 902001
  #  define mc_eip mc_rip
  # endif
  #endif


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



More information about the llvm-commits mailing list