summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/2010-07-19-Crash.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-05-16 18:26:53 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-05-16 18:26:53 +0000
commit825f487b689baba082248a3b52263c2385744531 (patch)
treef9353ab3d446b628339f470da8f4649cb1669034 /llvm/test/DebugInfo/2010-07-19-Crash.ll
parent36132035ca6bb7bfdde8b0c97a4a8ef4d3f11adb (diff)
downloadbcm5719-llvm-825f487b689baba082248a3b52263c2385744531.tar.gz
bcm5719-llvm-825f487b689baba082248a3b52263c2385744531.zip
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). llvm-svn: 209004
Diffstat (limited to 'llvm/test/DebugInfo/2010-07-19-Crash.ll')
-rw-r--r--llvm/test/DebugInfo/2010-07-19-Crash.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/2010-07-19-Crash.ll b/llvm/test/DebugInfo/2010-07-19-Crash.ll
index 6b6e61ddc28..a10b10a7d14 100644
--- a/llvm/test/DebugInfo/2010-07-19-Crash.ll
+++ b/llvm/test/DebugInfo/2010-07-19-Crash.ll
@@ -25,6 +25,6 @@ entry:
!10 = metadata !{i32 524299, metadata !12, metadata !0, i32 3, i32 11, i32 0} ; [ DW_TAG_lexical_block ]
!11 = metadata !{i32 524334, metadata !12, metadata !1, metadata !"foo", metadata !"foo", metadata !"foo", i32 7, metadata !3, i1 true, i1 false, i32 0, i32 0, null, i1 false, i1 true, null, null, null, null, i32 0} ; [ DW_TAG_subprogram ]
!12 = metadata !{metadata !"one.c", metadata !"/private/tmp"}
-!13 = metadata !{metadata !0, metadata !6, metadata !11}
+!13 = metadata !{metadata !0}
!14 = metadata !{i32 0}
!15 = metadata !{i32 1, metadata !"Debug Info Version", i32 1}
OpenPOWER on IntegriCloud