]> granicus.if.org Git - clang/commit
Emit lifetime.start / lifetime.end markers for unnamed temporary objects.
authorArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Mon, 21 Jul 2014 18:54:21 +0000 (18:54 +0000)
committerArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Mon, 21 Jul 2014 18:54:21 +0000 (18:54 +0000)
commitdfd60139839e1cfe0063be2261034e8e7888bd90
tree179397e1071a589ff1ecd2c29f39aad734c03aff
parent30974231cab08ddc43e78dfe224009f8555d0ec3
Emit lifetime.start / lifetime.end markers for unnamed temporary objects.

This will give more information to the optimizers so that they can reuse stack slots.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213576 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenCXX/unnamed-object-lifetime.cpp [new file with mode: 0644]