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

Viktor Kutuzov vkutuzov at accesssoftek.com
Mon Nov 3 08:37:36 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;
----------------
emaste wrote:
> Did you check that 9.3 works?  (I'm curious if the test should actually be for FreeBSD version < 10.0 .)
> 
> 
> 
> 
> 
I didn't check it on 9.3 and I'm not sure if there is a simple way to find the revision affected the behavior of _Unwind_Backtrace().

http://reviews.llvm.org/D6086






More information about the llvm-commits mailing list