This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Move termination functions in their own file

Authored by cryptoad on May 27 2016, 11:43 AM.



As suggested by kcc@ in, move the CheckFailed and Die functions, and their associated callback functionalities in their own separate file.
I expended the build rules to include a new rule that would not include those termination functions, so that another project can define their own.
The tests check-{a,t,m,ub,l,e,df}san are all passing.

Diff Detail

Event Timeline

cryptoad updated this revision to Diff 58815.May 27 2016, 11:43 AM
cryptoad retitled this revision from to [sanitizer] Move termination functions in their own file.
cryptoad updated this object.
cryptoad added a reviewer: kcc.
kcc accepted this revision.May 27 2016, 2:58 PM
kcc edited edge metadata.

let me test and commit this.

This revision is now accepted and ready to land.May 27 2016, 2:58 PM
kcc closed this revision.May 27 2016, 3:03 PM