This is an archive of the discontinued LLVM Phabricator instance.

[HWASan] Print short tags in tag mismatch description.
ClosedPublic

Authored by morehouse on Nov 1 2021, 12:26 PM.

Details

Summary

I recently spent some extra time debugging a false positive because I
didn't realize the "real" tag was in the short granule. Adding the
short tag here makes it more obvious that we could be dealing with a
short granule.

Diff Detail

Event Timeline

morehouse requested review of this revision.Nov 1 2021, 12:26 PM
morehouse created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptNov 1 2021, 12:26 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
hctim accepted this revision.Nov 1 2021, 12:47 PM

thanks! this is exactly what I was thinking

This revision is now accepted and ready to land.Nov 1 2021, 12:47 PM
eugenis accepted this revision.Nov 1 2021, 12:53 PM

LGTM, but maybe put the short tag in () or [] to show that it is logically part of the memory tag? And I would remove the "/short" part - it's confusing if you don't know what short tags are, and unnecessary if you do.

morehouse updated this revision to Diff 384105.Nov 2 2021, 7:58 AM
  • Remove /short and put short tag in parens.
This revision was landed with ongoing or failed builds.Nov 2 2021, 8:01 AM
This revision was automatically updated to reflect the committed changes.