]> granicus.if.org Git - clang/commit
Debug Info: fix the line location for cleanup code of a block function
authorManman Ren <mren@apple.com>
Fri, 4 Jan 2013 18:51:35 +0000 (18:51 +0000)
committerManman Ren <mren@apple.com>
Fri, 4 Jan 2013 18:51:35 +0000 (18:51 +0000)
commit3c7a0e1a75ebe13366a646a9eb8c4aa61e4728d3
treeee8419138f4d5bb68b28b9eb223b1fcf53ff968c
parentf7992132207d7ddc8810a135cec97ebe5805e500
Debug Info: fix the line location for cleanup code of a block function

The line information was changed when emitting debug information for all the
DeclRefExprs and we should change it back to get ready for PopClenupBlocks
called from FinishFunction.

rdar://11562117

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171493 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBlocks.cpp
test/CodeGenObjC/debug-info-block-line.m [new file with mode: 0644]