summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2016-04-05 23:37:08 +0000
committerDavide Italiano <davide@freebsd.org>2016-04-05 23:37:08 +0000
commitea04026c1355a7ea62c39294736f5cc8828423dc (patch)
tree470ea9e861823d1c01ac38c80ece95596bb59449 /llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll
parent5300950f3a2043dede4511e3c311c35fbd387322 (diff)
downloadbcm5719-llvm-ea04026c1355a7ea62c39294736f5cc8828423dc.tar.gz
bcm5719-llvm-ea04026c1355a7ea62c39294736f5cc8828423dc.zip
[DebugInfo] Fix tests so that each subprogram belongs to a CU.
llvm-svn: 265490
Diffstat (limited to 'llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll')
-rw-r--r--llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll b/llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll
index 24ceaa4987f..09706c2a4f9 100644
--- a/llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll
+++ b/llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll
@@ -22,6 +22,8 @@ define i32 @main() nounwind readonly !dbg !1 {
ret i32 4, !dbg !DILocation(scope: !1)
}
+!llvm.dbg.cu = !{!6}
+
declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
!7 = !{!1}
@@ -33,7 +35,7 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
!4 = !{!5}
!5 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
!8 = !DIFile(filename: "/d/j/debug-test.c", directory: "/Volumes/Data/b")
-!9 = !{i32 0}
+!9 = !{}
!llvm.module.flags = !{!10}
!10 = !{i32 1, !"Debug Info Version", i32 3}
OpenPOWER on IntegriCloud