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.
Paths
| Differential D114863
[BuildLibCalls] Add additional attrs to memcpy_chk. ClosedPublic Authored by fhahn on Dec 1 2021, 3:59 AM.
Details
Diff Detail
Event TimelineThis 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 Closed by commit rG0496edad4993: [BuildLibCalls] Add additional attrs to memcpy_chk. (authored by fhahn). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 391257 llvm/lib/Transforms/Utils/BuildLibCalls.cpp
llvm/test/Transforms/InferFunctionAttrs/annotate.ll
|