summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Generic/debuginfofinder-forward-declaration.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/DebugInfo/Generic/debuginfofinder-forward-declaration.ll')
-rw-r--r--llvm/test/DebugInfo/Generic/debuginfofinder-forward-declaration.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/Generic/debuginfofinder-forward-declaration.ll b/llvm/test/DebugInfo/Generic/debuginfofinder-forward-declaration.ll
index dcbdd2e2e61..2fdbef202f8 100644
--- a/llvm/test/DebugInfo/Generic/debuginfofinder-forward-declaration.ll
+++ b/llvm/test/DebugInfo/Generic/debuginfofinder-forward-declaration.ll
@@ -21,7 +21,7 @@
%struct.Y = type { %struct.X* }
%struct.X = type opaque
-@y = common global %struct.Y zeroinitializer, align 8
+@y = common global %struct.Y zeroinitializer, align 8, !dbg !4
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!10, !11}
@@ -31,7 +31,7 @@
!1 = !DIFile(filename: "minimal.c", directory: "/tmp")
!2 = !{}
!3 = !{!4}
-!4 = !DIGlobalVariable(name: "y", scope: !0, file: !1, line: 7, type: !5, isLocal: false, isDefinition: true, variable: %struct.Y* @y)
+!4 = !DIGlobalVariable(name: "y", scope: !0, file: !1, line: 7, type: !5, isLocal: false, isDefinition: true)
!5 = !DICompositeType(tag: DW_TAG_structure_type, name: "Y", file: !1, line: 3, size: 64, align: 64, elements: !6)
!6 = !{!7}
!7 = !DIDerivedType(tag: DW_TAG_member, name: "x", scope: !5, file: !1, line: 4, baseType: !8, size: 64, align: 64)
OpenPOWER on IntegriCloud