aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/LineIterator.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-10-10 17:47:20 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-10-13 21:12:19 +0200
commit39c39e8a7f09ff8f0385ef9962d1075d9559d139 (patch)
treebf2f58baa1d679df0faa693f1c2da6f2e7c98d18 /llvm/lib/Support/LineIterator.cpp
parent10f1ca99b498347186ec74b01046ad292bde9a4c (diff)
downloadllvm-39c39e8a7f09ff8f0385ef9962d1075d9559d139.zip
llvm-39c39e8a7f09ff8f0385ef9962d1075d9559d139.tar.gz
llvm-39c39e8a7f09ff8f0385ef9962d1075d9559d139.tar.bz2
[MemCpyOpt] Don't shorten memset if destination observable through unwinding
MemCpyOpt can shorten a memset if it is later partially overwritten by a memcpy. It checks that the destination is not read in between, but we also need to make sure that the destination cannot be observed via unwinding. Differential Revision: https://reviews.llvm.org/D89190
Diffstat (limited to 'llvm/lib/Support/LineIterator.cpp')
0 files changed, 0 insertions, 0 deletions