This is an archive of the discontinued LLVM Phabricator instance.

[NFC][HWASAN] Move getUARTag into the Entry
ClosedPublic

Authored by vitalybuka on Apr 25 2023, 5:49 PM.

Diff Detail

Event Timeline

vitalybuka created this revision.Apr 25 2023, 5:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 25 2023, 5:49 PM
vitalybuka requested review of this revision.Apr 25 2023, 5:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 25 2023, 5:49 PM
vitalybuka retitled this revision from [nfc][HWASAN] Move getUARTag into the Entry to [NFC][HWASAN] Move getUARTag into the Entry.
kstoimenov accepted this revision.Apr 26 2023, 2:18 PM
kstoimenov added inline comments.
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
1049

Should we make this into an assert?

This revision is now accepted and ready to land.Apr 26 2023, 2:18 PM
eugenis accepted this revision.Apr 26 2023, 2:51 PM
eugenis added inline comments.
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
1049

nullptr is fine because we do not need the base tag when ClGenerateTagsWithCalls.

We could turn it into Optional<> but I do not see the point.

This revision was landed with ongoing or failed builds.Apr 26 2023, 3:28 PM
This revision was automatically updated to reflect the committed changes.