This is an archive of the discontinued LLVM Phabricator instance.

Bundle conditions checked by UBSan with sanitizer kinds they implement.
ClosedPublic

Authored by samsonov on Nov 11 2014, 1:00 PM.

Details

Summary

This change makes CodeGenFunction::EmitCheck() take several
conditions that needs to be checked (all of them need to be true),
together with sanitizer kinds these checks are for. This would allow
to split one call into UBSan runtime into several calls in case
different sanitizer kinds would have different recoverability
settings.

Tests should be fixed accordingly, I'm working on it.

Diff Detail

Event Timeline

samsonov updated this revision to Diff 16058.Nov 11 2014, 1:00 PM
samsonov retitled this revision from to Bundle conditions checked by UBSan with sanitizer kinds they implement..
samsonov updated this object.
samsonov edited the test plan for this revision. (Show Details)
samsonov added a reviewer: rsmith.
samsonov added a subscriber: Unknown Object (MLST).
rsmith accepted this revision.Nov 11 2014, 1:48 PM
rsmith edited edge metadata.

LGTM

This revision is now accepted and ready to land.Nov 11 2014, 1:48 PM
samsonov updated this revision to Diff 16062.Nov 11 2014, 1:52 PM
samsonov edited edge metadata.

Update tests.

samsonov updated this object.Nov 11 2014, 1:55 PM
samsonov closed this revision.Nov 11 2014, 1:55 PM
samsonov updated this revision to Diff 16063.

Closed by commit rL221716 (authored by @samsonov).