This is an archive of the discontinued LLVM Phabricator instance.

[BuildLibCalls] Add additional attrs to memcpy_chk.
ClosedPublic

Authored by fhahn on Dec 1 2021, 3:59 AM.

Details

Summary

memcpy_chk can be treated like memcpy, with the exception that it
may not return (if it aborts the program).

See D114793 for a similar patch for memset_chk.

Diff Detail

Event Timeline

fhahn created this revision.Dec 1 2021, 3:59 AM
fhahn requested review of this revision.Dec 1 2021, 3:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 1 2021, 3:59 AM
This revision is now accepted and ready to land.Dec 1 2021, 4:31 AM
This revision was landed with ongoing or failed builds.Dec 2 2021, 1:50 AM
This revision was automatically updated to reflect the committed changes.