Refactor code that finds context for a given die.
authorDevang Patel <dpatel@apple.com>
Thu, 10 Dec 2009 19:14:49 +0000 (19:14 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 10 Dec 2009 19:14:49 +0000 (19:14 +0000)
commitc366f83d89d93be557f136f1560d696b4acb6a46
tree9190aa454bd846c76d510c8076f8e1d8e0647ff3
parentcbd77d2cb1812ad142412fa0a16d835fa468efe4
Refactor code that finds context for a given die.
Create global variable DIEs after creating subprogram DIEs. This allows function level static variable's to find their context at the time of DIE creation.

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