[PATCH] D34121: [ubsan] Teach the pointer overflow check that "p - <unsigned> <= p" (PR33430)

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 12 12:36:21 PDT 2017


vsk added a comment.

@dtzWill do you have any further comments on this one?

I'd like to get another 'lgtm' before committing, and it'd be nice to get this in before llvm 5.0 branches (7/19).

FWIW we've been living on this for a few weeks internally without any issues:
https://github.com/apple/swift-clang/commit/3ebe7d87b9d545aebdd80452d0b79695ff871bce


https://reviews.llvm.org/D34121





More information about the cfe-commits mailing list