diff options
author | Florian Hahn <flo@fhahn.com> | 2022-11-24 19:17:48 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-11-24 19:17:48 +0000 |
commit | ae852750b34a842c33e0cc94aafd331742f980f0 (patch) | |
tree | 2ef5ba061422f917c45d1dcdd98028912fc96283 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9e1650951b16120ce86b244ed2337dc1acb39d65 (diff) | |
download | llvm-ae852750b34a842c33e0cc94aafd331742f980f0.zip llvm-ae852750b34a842c33e0cc94aafd331742f980f0.tar.gz llvm-ae852750b34a842c33e0cc94aafd331742f980f0.tar.bz2 |
[MemoryLocation] Support memcpy_chk in getForArgument.
Similar to 9f9e8ba114ce, add support for memcyp_chk to
MemoryLocation::getForArgument.
The size argument for memcpy_chk is an upper bound for the size of the
pointer argument. memcpy_chk may read/write less than the specified length,
if it exceeds the specified max size and aborts.
Reviewed By: xbolva00, jdoerfert
Differential Revision: https://reviews.llvm.org/D138613
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions