DebugInfo: Fix inlining with #file directives a little harder
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 25 May 2014 18:11:35 +0000 (18:11 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 25 May 2014 18:11:35 +0000 (18:11 +0000)
commitea86226774caf12b038d2e8b24b10da754316fe8
treea340e7c0d49873ebcb732d7dc2a3113500e929c9
parent69d3406a2d5832effb999c4bd297a36d4e81e6a7
DebugInfo: Fix inlining with #file directives a little harder

Seems my previous fix was insufficient - we were still not adding the
inlined function to the abstract scope list. Which meant it wasn't
flagged as inline, didn't have nested lexical scopes in the abstract
definition, and didn't have abstract variables - so the inlined variable
didn't reference an abstract variable, instead being described
completely inline.

llvm-svn: 209602
llvm/lib/CodeGen/LexicalScopes.cpp
llvm/test/DebugInfo/inline-scopes.ll