Delay adding imported entity DIEs to the lexical scope, streamlining the check for...
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 31 Aug 2014 05:46:17 +0000 (05:46 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 31 Aug 2014 05:46:17 +0000 (05:46 +0000)
commit4b538d396ffe7798352b54677479c0f7739e8681
treea5b9c9b53f146c6ca48ae3e6b1359c9e826e4d31
parent677ae425118bb5a644d66a44e5118ea2a1e9a732
Delay adding imported entity DIEs to the lexical scope, streamlining the check for "this scope has nothing in it"

This makes the emptiness of the scope with regards to variables and
nested scopes is the same as with regards to imported entities. Just
check if we had nothing at all before we build the node.

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