]> granicus.if.org Git - clang/commit
Emit lifetime.start / lifetime.end markers for unnamed temporary objects.
authorArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Fri, 18 Jul 2014 13:36:33 +0000 (13:36 +0000)
committerArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Fri, 18 Jul 2014 13:36:33 +0000 (13:36 +0000)
commitdbf785a6432f78a8ec229665876647c4cc610d3d
treeb32363826c4d5326b0b860eef38f8ff7e64e34c7
parent6590426aeb5275ec33dac2877f9349bbbb2d4b2e
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@213379 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]