[compiler-rt] r200554 - [ASan] Implement __sanitizer::InstallDeadlySignalHandlers() and __asan::AsanOnSIGSEGV() on Windows.

Alexander Potapenko glider at google.com
Fri Jan 31 07:11:11 PST 2014


Author: glider
Date: Fri Jan 31 09:11:11 2014
New Revision: 200554

URL: http://llvm.org/viewvc/llvm-project?rev=200554&view=rev
Log:
[ASan] Implement __sanitizer::InstallDeadlySignalHandlers() and __asan::AsanOnSIGSEGV() on Windows.

Modified:
    compiler-rt/trunk/lib/asan/asan_win.cc
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc

Modified: compiler-rt/trunk/lib/asan/asan_win.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_win.cc?rev=200554&r1=200553&r2=200554&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_win.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_win.cc Fri Jan 31 09:11:11 2014
@@ -78,6 +78,10 @@ void ReadContextStack(void *context, upt
   UNIMPLEMENTED();
 }
 
+void AsanOnSIGSEGV(int, void *siginfo, void *context) {
+  UNIMPLEMENTED();
+}
+
 }  // namespace __asan
 
 #endif  // _WIN32

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=200554&r1=200553&r2=200554&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc Fri Jan 31 09:11:11 2014
@@ -421,7 +421,8 @@ void UnsetAlternateSignalStack() {
   // FIXME: Decide what to do on Windows.
 }
 
-void InstallDeadlySignalHandlers() {
+void InstallDeadlySignalHandlers(SignalHandlerType handler) {
+  (void)handler;
   // FIXME: Decide what to do on Windows.
 }
 





More information about the llvm-commits mailing list