DebugInfo: Reuse existing LexicalScope to retrieve the scope's MDNode, rather than...
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 5 Jun 2014 01:30:50 +0000 (01:30 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 5 Jun 2014 01:30:50 +0000 (01:30 +0000)
commit367fb01d70300b07ea689c3ac622013f2f9ee416
tree19433325b21da08c16968939af41831b10e4c6c7
parent087e7203a971c905f0fd74b4e17f27f04def2b18
DebugInfo: Reuse existing LexicalScope to retrieve the scope's MDNode, rather than looking it up through the DebugLoc.

No functional change intended, just streamlines the abstract variable
lookup/construction to use a common entry point.

llvm-svn: 210234
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h