This is an archive of the discontinued LLVM Phabricator instance.

[ubsan] Add helpers to decide when null/vptr checks are required. NFC.
Needs ReviewPublic

Authored by vsk on Sep 6 2017, 5:26 PM.

Details

Reviewers
rsmith
Summary

Adding these helpers will make a planned change simpler:
[ubsan] Defer pointer type checks, then try to skip the redundant ones

Diff Detail

Event Timeline

vsk created this revision.Sep 6 2017, 5:26 PM