This is an archive of the discontinued LLVM Phabricator instance.

Small fixes for detect_invalid_pointer_pairs.
ClosedPublic

Authored by marxin on Dec 21 2017, 12:33 AM.

Details

Summary

One test-case uses a wrong operation (should be subtraction).
Second test-case should declare a global variables before a tested one
in order to guarantee we will find a red-zone.

Diff Detail

Event Timeline

marxin created this revision.Dec 21 2017, 12:33 AM
alekseyshl accepted this revision.Dec 21 2017, 10:20 AM
This revision is now accepted and ready to land.Dec 21 2017, 10:20 AM

Thanks for the review, can you please install the patch submission?

This revision was automatically updated to reflect the committed changes.