Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Commit

Permalink
[ASan] Implement __sanitizer::InstallDeadlySignalHandlers() and __asa…
Browse files Browse the repository at this point in the history
…n::AsanOnSIGSEGV() on Windows.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200554 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
ramosian-glider committed Jan 31, 2014
1 parent b30cd13 commit 7bb39ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/asan/asan_win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ void ReadContextStack(void *context, uptr *stack, uptr *ssize) {
UNIMPLEMENTED();
}

void AsanOnSIGSEGV(int, void *siginfo, void *context) {
UNIMPLEMENTED();
}

} // namespace __asan

#endif // _WIN32
3 changes: 2 additions & 1 deletion lib/sanitizer_common/sanitizer_win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}

Expand Down

0 comments on commit 7bb39ba

Please sign in to comment.