This is an archive of the discontinued LLVM Phabricator instance.

[HWASAN] Use InTaggableRegion in basic tagging functions
ClosedPublic

Authored by vitalybuka on Apr 26 2023, 4:31 PM.

Details

Summary

For primary use-case when !HWASAN_ALIASING_MODE the function is constant
true and should be eliminated by optimizations.

In case HWASAN_ALIASING_MODE all new calls to the functions were missing
in the first place. We just not use this mode for anything but tests, so
we didn't noticed.

Addressing @thurston comment on D149293

Diff Detail

Event Timeline

vitalybuka created this revision.Apr 26 2023, 4:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 26 2023, 4:31 PM
Herald added a subscriber: Enna1. · View Herald Transcript
vitalybuka requested review of this revision.Apr 26 2023, 4:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 26 2023, 4:31 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
thurston accepted this revision.Apr 26 2023, 4:41 PM
This revision is now accepted and ready to land.Apr 26 2023, 4:41 PM
This revision was landed with ongoing or failed builds.Apr 26 2023, 11:42 PM
This revision was automatically updated to reflect the committed changes.