Adjust context for the global variables that are not at file scope, e.g.
authorDevang Patel <dpatel@apple.com>
Mon, 5 Oct 2009 23:40:42 +0000 (23:40 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 5 Oct 2009 23:40:42 +0000 (23:40 +0000)
commitfd07cf56cdaf730036c1d59bf0f9372dae8900df
tree7ff412ea3e41db4752bca85e519162fa08635b3c
parentb71a16d10dd47f70947386064783eeac2abe29b2
Adjust context for the global variables that are not at file scope, e.g.
void foo() { static int bar = 42; }
Here, foo's DIE is parent of bar's DIE.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83344 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h