[PATCH] D40341: Handle symbol renaming of sigaction for NetBSD

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 02:51:49 PST 2017


krytarowski added a comment.

Thanks! I've uploaded a slightly older diff, that has another renaming in sanitizer_signal_interceptors.inc. I will commit the newer version and check the remaining portability issues on buildbots.

  @@ -25,7 +31,7 @@ using namespace __sanitizer;
   
   #ifndef SIGNAL_INTERCEPTOR_SIGACTION_IMPL
   #define SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact) \
  -  { return REAL(sigaction)(signum, act, oldact); }
  +  { return REAL(sigaction_symname)(signum, act, oldact); }
   #endif
   
   #if SANITIZER_INTERCEPT_BSD_SIGNAL


Repository:
  rL LLVM

https://reviews.llvm.org/D40341





More information about the llvm-commits mailing list