This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Move __sanitizer_set_death_callback to a more appropriate file
ClosedPublic

Authored by cryptoad on Sep 21 2018, 8:33 AM.

Details

Summary

__sanitizer_set_death_callback is a public interface function wrapping
SetUserDieCallback. Said function is defined in sanitizer_termination.cc,
which is not included in all the RT. Moving the interface function to that
file allows to not have a spurious public fuinction in RT that don't use it.

Event Timeline

cryptoad created this revision.Sep 21 2018, 8:33 AM
Herald added subscribers: Restricted Project, delcypher, kubamracek. · View Herald TranscriptSep 21 2018, 8:33 AM
This revision is now accepted and ready to land.Sep 21 2018, 10:03 AM
This revision was automatically updated to reflect the committed changes.