[PATCH] [Tsan] Add FreeBSD support to longjmp-related definitions

Dmitry Vyukov dvyukov at google.com
Tue Oct 21 00:34:31 PDT 2014


LGTM with a nit

================
Comment at: lib/tsan/rtl/tsan_interceptors.cc:426
@@ +425,3 @@
+#if SANITIZER_FREEBSD
+  SetJmp(cur_thread(), sp, sp);
+#else
----------------
You already pass the same value in both RSI and RDI, so revert changes to this function.

http://reviews.llvm.org/D5857






More information about the llvm-commits mailing list