Do not require variable debug info nodes to have a compile unit.
authorChris Lattner <sabre@nondot.org>
Tue, 5 May 2009 04:55:56 +0000 (04:55 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 5 May 2009 04:55:56 +0000 (04:55 +0000)
commite3f6cea9e9fc65e3429a28812460841c93fd75a5
tree79c69fe5ac29e838ed31b7011dd5a91095483a59
parentbef60d38045dbde1971f3721e0787eaa5f1d511f
Do not require variable debug info nodes to have a compile unit.
For implicit decls like "self" and "_cmd" in ObjC, these decls
should not have a location.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70964 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/DebugInfo.cpp
lib/CodeGen/AsmPrinter/DwarfWriter.cpp