OSDN Git Service

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)
commitff715b240351dc2b8fba1be236d7a1746d2f0031
tree19700863ada4b512b416da8ef3fd7be035292bdc
parentda6de52435d05e73e3691006e9f8d78e0102343e
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173592 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo.h
test/DebugInfo/X86/debug-info-static-member.ll
test/DebugInfo/inlined-vars.ll
test/DebugInfo/line-info.ll [new file with mode: 0644]