[PATCH] tsan: fix signal handling during stop-the-world

Dmitry Vyukov dvyukov at google.com
Wed Feb 18 05:57:45 PST 2015


Hi earthdok,

Long story short: stop-the-world briefly resets SIGSEGV handler to SIG_DFL. This breaks programs that handle and continue after SIGSEGV (namely JVM). See the test and comments for details.

http://reviews.llvm.org/D7722

Files:
  lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
  test/tsan/signal_segv_handler.cc

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7722.20166.patch
Type: text/x-patch
Size: 9466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150218/c9c32813/attachment.bin>


More information about the llvm-commits mailing list