]> granicus.if.org Git - clang/commit
Do not reuse the debug location of the return value's store if there is autorelease...
authorAdrian Prantl <aprantl@apple.com>
Thu, 30 May 2013 18:12:23 +0000 (18:12 +0000)
committerAdrian Prantl <aprantl@apple.com>
Thu, 30 May 2013 18:12:23 +0000 (18:12 +0000)
commit7c731f5ac7b995fe57c4bda87ed5f59c58a33eb5
tree4019bfeb8ddeca651e01ec52ce1c4bee41d4123e
parentece7ebd2f2d03dc58fa1937a6d53e2a9f8c410f1
Do not reuse the debug location of the return value's store if there is autorelease code to be emitted between store and return instructions. This is analoguous to what we do for lexical scope cleanups.

rdar://problem/13977888

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182947 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
test/CodeGenObjC/arc-linetable-autorelease.m [new file with mode: 0644]