]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
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)
commitcec37248b2fb801d43718c810faa1736a1c95b60
tree54f3e6deb3a190ce32d5878705d9ff884b60fea4
parent7e79a350b58a1e40d090e5ec3dc5cb339358ed5a
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209602 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LexicalScopes.cpp
test/DebugInfo/inline-scopes.ll