This is an archive of the discontinued LLVM Phabricator instance.

[ubsan] PR33081: Skip the standard type checks for volatile
ClosedPublic

Authored by vsk on Jun 15 2017, 5:01 PM.

Details

Diff Detail

Repository
rL LLVM

Event Timeline

vsk created this revision.Jun 15 2017, 5:01 PM
rnk accepted this revision.Jun 15 2017, 5:55 PM

Looks good, and I did ask Richard about this in person before filing the bug and he was in favor of it, so feel free to commit. If I'd known how easy it was to implement and how few tests it would break, I would've made the patch instead of filing it. :) Thanks for getting around to it.

test/CodeGen/ubsan-volatile.c
9 ↗(On Diff #102758)

IMO the CHECKs would be cleaner if this were a parameter. You can do CHECK-NOT: call{{.*}}ubsan or something.

This revision is now accepted and ready to land.Jun 15 2017, 5:55 PM
vsk added a comment.Jun 15 2017, 8:27 PM

Thanks for the review. I'll make the suggested test changes and commit.

This revision was automatically updated to reflect the committed changes.