summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2016-07-28 22:59:03 +0000
committerVitaly Buka <vitalybuka@google.com>2016-07-28 22:59:03 +0000
commit0ab23cf1c8c92e5fca497b1324132e5be136162e (patch)
tree74d63c4474bbd8702c27c0b59731f852d72067b4 /llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
parent2fae6a77026b2401367dc9304783260ab67a4378 (diff)
downloadbcm5719-llvm-0ab23cf1c8c92e5fca497b1324132e5be136162e.tar.gz
bcm5719-llvm-0ab23cf1c8c92e5fca497b1324132e5be136162e.zip
Do not remove empty lifetime.start/lifetime.end ranges
Summary: Asan stack-use-after-scope check should poison alloca even if there is no access between start and end. This is possible for code like this: for (int i = 0; i < 3; i++) { int x; p = &x; } "Loop Invariant Code Motion" will move "p = &x;" out of the loop, making start/end range empty. PR27453 Reviewers: eugenis Differential Revision: https://reviews.llvm.org/D22842 llvm-svn: 277072
Diffstat (limited to 'llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud