[compiler-rt] r313224 - [compiler-rt] Fix Windows build
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 13 19:58:18 PDT 2017
Author: vitalybuka
Date: Wed Sep 13 19:58:18 2017
New Revision: 313224
URL: http://llvm.org/viewvc/llvm-project?rev=313224&view=rev
Log:
[compiler-rt] Fix Windows build
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc?rev=313224&r1=313223&r2=313224&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc Wed Sep 13 19:58:18 2017
@@ -938,10 +938,6 @@ bool SignalContext::IsMemoryAccess() con
return GetWriteFlag() != SignalContext::UNKNOWN;
}
-int SignalContext::GetType() const {
- return static_cast<const siginfo_t *>(siginfo)->si_signo;
-}
-
SignalContext::WriteFlag SignalContext::GetWriteFlag() const {
EXCEPTION_RECORD *exception_record = (EXCEPTION_RECORD *)siginfo;
// The contents of this array are documented at
More information about the llvm-commits
mailing list