diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-05-16 18:26:53 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-05-16 18:26:53 +0000 |
commit | 33b37c7b12314d292c9074806f38aeaa6a707085 (patch) | |
tree | 2d94571a60bf9654466b50bbb1c65846828ab551 /test/DebugInfo/X86 | |
parent | 117b0385923b380387e8a8e1785673ba4a0c0829 (diff) | |
download | llvm-33b37c7b12314d292c9074806f38aeaa6a707085.tar.gz llvm-33b37c7b12314d292c9074806f38aeaa6a707085.tar.bz2 llvm-33b37c7b12314d292c9074806f38aeaa6a707085.tar.xz |
DebugInfo: Assume the CU's Subprogram list only contains definitions.
DIBuilder maintains this invariant and the current DwarfDebug code could
end up doing weird things if it contained declarations (such as putting
the definition DIE inside a CU that contained the declaration - this
doesn't seem like a good idea, so rather than adding logic to handle
this case we'll just ban in for now & cross that bridge if we come to
it later).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86')
-rw-r--r-- | test/DebugInfo/X86/dbg-declare-arg.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/DebugInfo/X86/dbg-declare-arg.ll b/test/DebugInfo/X86/dbg-declare-arg.ll index 7bf6f4fa5d..b5372658cf 100644 --- a/test/DebugInfo/X86/dbg-declare-arg.ll +++ b/test/DebugInfo/X86/dbg-declare-arg.ll @@ -122,6 +122,6 @@ entry: !47 = metadata !{i32 2, i32 47, metadata !25, null} !48 = metadata !{i32 2, i32 54, metadata !49, null} !49 = metadata !{i32 786443, metadata !51, metadata !25, i32 2, i32 52, i32 2} ; [ DW_TAG_lexical_block ] -!50 = metadata !{metadata !0, metadata !10, metadata !14, metadata !19, metadata !22, metadata !25} +!50 = metadata !{metadata !19, metadata !22, metadata !25} !51 = metadata !{metadata !"a.cc", metadata !"/private/tmp"} !52 = metadata !{i32 1, metadata !"Debug Info Version", i32 1} |