This is an archive of the discontinued LLVM Phabricator instance.

[NFC] [MTE] helper for stack tagging lifetimes.
ClosedPublic

Authored by fmayer on Jul 16 2021, 2:42 AM.

Diff Detail

Event Timeline

fmayer created this revision.Jul 16 2021, 2:42 AM
fmayer requested review of this revision.Jul 16 2021, 2:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 16 2021, 2:42 AM

RetVec should be const reference.
Please add a function scope comment explaining what it does.

fmayer updated this revision to Diff 359374.Jul 16 2021, 10:09 AM

add comment & const

RetVec should be const reference.
Please add a function scope comment explaining what it does.

Sorry, confused myself by missing that this is a vector of pointers, so it can be const.
Done.

This revision is now accepted and ready to land.Jul 16 2021, 10:27 AM

I expected something replaced in AddressSanitizer.cpp as well?

vitalybuka accepted this revision.Jul 16 2021, 12:29 PM

I expected something replaced in AddressSanitizer.cpp as well?

My mistake.
LGTM

vitalybuka added inline comments.Jul 16 2021, 12:41 PM
llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
61

If it's in common we need to remove all Tagging reference in the function and documentation
UntagCallback -> Callback

fmayer updated this revision to Diff 359717.Jul 19 2021, 3:05 AM

name change.

fmayer marked an inline comment as done.Jul 19 2021, 3:05 AM
This revision was landed with ongoing or failed builds.Jul 19 2021, 3:09 AM
This revision was automatically updated to reflect the committed changes.