[compiler-rt] r317846 - [sanitizer] Fix signal interceptors build on Windows
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 15:05:01 PST 2017
Author: vitalybuka
Date: Thu Nov 9 15:05:01 2017
New Revision: 317846
URL: http://llvm.org/viewvc/llvm-project?rev=317846&view=rev
Log:
[sanitizer] Fix signal interceptors build on Windows
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_signal_interceptors.inc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_signal_interceptors.inc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_signal_interceptors.inc?rev=317846&r1=317845&r2=317846&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_signal_interceptors.inc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_signal_interceptors.inc Thu Nov 9 15:05:01 2017
@@ -66,8 +66,8 @@ int real_sigaction(int signum, const voi
#define INIT_SIGNAL
#define INIT_SIGACTION
// We need to have defined REAL(sigaction) on other systems.
-DEFINE_REAL(int, sigaction, int signum, const struct sigaction *act,
- struct sigaction *oldact)
+DEFINE_REAL(int, sigaction, int signum, const __sanitizer_sigaction *act,
+ struct __sanitizer_sigaction *oldact)
#endif // SANITIZER_INTERCEPT_SIGNAL_AND_SIGACTION
static void InitializeSignalInterceptors() {
More information about the llvm-commits
mailing list