]> granicus.if.org Git - clang/commit
Fix generated debug info for decls with no location (which include self/_cmd
authorChris Lattner <sabre@nondot.org>
Tue, 5 May 2009 04:57:08 +0000 (04:57 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 5 May 2009 04:57:08 +0000 (04:57 +0000)
commit650cea9cc5ceb9fbcf8897db0e252e5bdb5c5179
tree41443321ddeffca3a312e7390cc6d6f42fb0e72b
parentde866f3d4d2653ae59a54e41e6616a6c23c63cc8
Fix generated debug info for decls with no location (which include self/_cmd
in ObjC) to not emit file/line location information.  Previously
we would output a file with bogus line information.  This fixes:
rdar://6852814 - Clang generates incorrect file & line info for automatic/understood formal parameters for objc-programs

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70965 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp