This is an archive of the discontinued LLVM Phabricator instance.

[hwasan] barrier after tagging and before tag check.
AbandonedPublic

Authored by fmayer on Aug 4 2021, 12:22 PM.

Details

Reviewers
None
Summary

this makes sure that the memory accesses and the tagging are not reordered,
which happens in practice when building android.

without this change, building android with use-after-scope makes it
crashloop, with this it works.

Diff Detail

Event Timeline

fmayer created this revision.Aug 4 2021, 12:22 PM
fmayer published this revision for review.Aug 4 2021, 12:24 PM
fmayer added a reviewer: hctim.
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2021, 12:24 PM
fmayer removed a reviewer: hctim.Aug 9 2021, 11:09 AM
fmayer abandoned this revision.Aug 17 2021, 2:38 AM