[PATCH] [Sanitizers] Enable stack traces on recent versions of FreeBSD

Ed Maste emaste at freebsd.org
Mon Nov 3 08:23:19 PST 2014


================
Comment at: lib/sanitizer_common/sanitizer_stacktrace.h:56
@@ +55,3 @@
+#elif SANITIZER_FREEBSD
+# if __FreeBSD_version <= 902001  // v9.2
+    const bool UseFastUnwind = true;
----------------
Did you check that 9.3 works?  (I'm curious if the test should actually be for FreeBSD version < 10.0 .)

http://reviews.llvm.org/D6086






More information about the llvm-commits mailing list