PR14566: Debug Info: Removing top level lexical blocks
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 26 Jan 2013 21:55:23 +0000 (21:55 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 26 Jan 2013 21:55:23 +0000 (21:55 +0000)
commit9f4b70dde051d36fe75b8e6a28253419484ecb88
tree3073d2d50e5af0b32a422792e3228a07a1bbd999
parent18a7776b9340f56f441e8390b4807dcb1e746464
PR14566: Debug Info: Removing top level lexical blocks

This adds support for LLVM to accept metadata that doesn't include a top level
lexical block in a function. Specifically LLVM couldn't handle this when there
were file changes relating to these blocks. I've updated a few test cases to
ensure other functionality (such as inlining) isn't affected by this change, but
haven't pervasively updated all the test cases.

llvm-svn: 173592
llvm/include/llvm/DebugInfo.h
llvm/test/DebugInfo/X86/debug-info-static-member.ll
llvm/test/DebugInfo/inlined-vars.ll
llvm/test/DebugInfo/line-info.ll [new file with mode: 0644]