This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Allow sanitizers to redefine implementation of signal interceptors
ClosedPublic

Authored by vitalybuka on Nov 9 2017, 2:05 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

vitalybuka created this revision.Nov 9 2017, 2:05 PM
eugenis accepted this revision.Nov 9 2017, 2:08 PM
eugenis added inline comments.
compiler-rt/lib/sanitizer_common/sanitizer_signal_interceptors.inc
50 ↗(On Diff #122331)

why is it not using __sanitizer_sigaction?

This revision is now accepted and ready to land.Nov 9 2017, 2:08 PM
vitalybuka updated this revision to Diff 122335.Nov 9 2017, 2:44 PM

use __sanitizer_sigaction

vitalybuka marked an inline comment as done.Nov 9 2017, 2:45 PM
This revision was automatically updated to reflect the committed changes.
eugenis added inline comments.Nov 9 2017, 2:49 PM
compiler-rt/lib/asan/asan_interceptors.h
23 ↗(On Diff #122335)

just include sanitizer_platform_limits_posix.h