summaryrefslogtreecommitdiff
path: root/test/DebugInfo/2009-11-03-InsertExtractValue.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-03-11 22:37:40 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-03-11 22:37:40 +0000
commit850b74d3927c35850a99b10ca7809f61a3b69c67 (patch)
treeebe95b8c651b15961f1ffa82f4345c0566657a54 /test/DebugInfo/2009-11-03-InsertExtractValue.ll
parent7cf04f3e1256150bea1b6ffe16fd2e98ae265080 (diff)
downloadllvm-850b74d3927c35850a99b10ca7809f61a3b69c67.tar.gz
llvm-850b74d3927c35850a99b10ca7809f61a3b69c67.tar.bz2
llvm-850b74d3927c35850a99b10ca7809f61a3b69c67.tar.xz
Upgrading debug info test cases to be (more) compatible with the current debug info format.
These cases were found by further work to remove support for debug info versioning. Common cleanups (other than changing the version info in the tag field) included adding the last parameter to compile_units (recently added for fission support) and other cases of trailing fields in lexical blocks, compile units, and subprograms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/2009-11-03-InsertExtractValue.ll')
-rw-r--r--test/DebugInfo/2009-11-03-InsertExtractValue.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/DebugInfo/2009-11-03-InsertExtractValue.ll b/test/DebugInfo/2009-11-03-InsertExtractValue.ll
index 933384af74..a2976a20de 100644
--- a/test/DebugInfo/2009-11-03-InsertExtractValue.ll
+++ b/test/DebugInfo/2009-11-03-InsertExtractValue.ll
@@ -1,8 +1,10 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
!dbg = !{!0}
-!0 = metadata !{i32 786478, i32 0, metadata !1, metadata !"bar", metadata !"bar", metadata !"_ZN3foo3barEv", metadata !1, i32 3, metadata !"nard", i1 false, i1 false, i32 0, i32 0, null, i32 258, i1 false, null, null, i32 0, metadata !1, i32 3}
-!1 = metadata !{i32 42}
+!0 = metadata !{i32 786478, i32 0, metadata !1, metadata !"bar", metadata !"bar", metadata !"_ZN3foo3barEv", metadata !1, i32 3, metadata !2, i1 false, i1 false, i32 0, i32 0, null, i32 258, i1 false, null, null, i32 0, metadata !1, i32 3}
+!1 = metadata !{i32 41, metadata !"/foo", metadata !"bar.cpp", null}
+!2 = metadata !{i32 21, metadata !1, metadata !"", metadata !1, i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !3, i32 0, null} ; [ DW_TAG_subroutine_type ]
+!3 = metadata !{null}
define <{i32, i32}> @f1() {
; CHECK: !dbgx !1