This is an archive of the discontinued LLVM Phabricator instance.

[MSan] Set zeroext on call arguments to msan functions with zeroext parameter attribute
ClosedPublic

Authored by aeubanks on May 17 2021, 10:35 PM.

Details

Summary

ABI attributes need to match between the caller and callee.

Diff Detail

Event Timeline

aeubanks created this revision.May 17 2021, 10:35 PM
aeubanks requested review of this revision.May 17 2021, 10:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2021, 10:35 PM
rnk accepted this revision.May 18 2021, 11:24 AM

lgtm

llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
1184

I suggest CB->addParamAttr as a shorter spelling for the same stuff. I noticed DFSan does it that way.

This revision is now accepted and ready to land.May 18 2021, 11:24 AM