[PATCH] D38669: [sanitizer] Don't intercept signal and sigaction on Fuchsia

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 7 22:23:08 PDT 2017


phosek added a comment.

The effect this will have is none, because `InstallDeadlySignalHandlers` which is supposed to install signal handles doesn't do anything on Fuchsia, see sanitizer_fuchsia.cc <https://github.com/llvm-mirror/compiler-rt/blob/master/lib/sanitizer_common/sanitizer_fuchsia.cc#L92>. Without the empty definition of `HandleDeadlySignal`, the build is broken because there's an undefined reference to it in `UBsanOnDeadlySignal` in ubsan_signals_standalone.cc <https://github.com/llvm-mirror/compiler-rt/blob/master/lib/ubsan/ubsan_signals_standalone.cc#L35>.


Repository:
  rL LLVM

https://reviews.llvm.org/D38669





More information about the llvm-commits mailing list