summaryrefslogtreecommitdiff
path: root/test/BugPoint
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-04-11 20:58:57 +0000
committerAdrian Prantl <aprantl@apple.com>2016-04-11 20:58:57 +0000
commit29b4ba0da5e5d5897d48cb33a3f2ded653aede78 (patch)
tree235ee74ef09713c5e808bdb0d6b8c6a51d81295e /test/BugPoint
parent21c130455f8fc563cc29f8827de36fc436089537 (diff)
Add missing DICompileUnit to this testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265995 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/BugPoint')
-rw-r--r--test/BugPoint/metadata.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/BugPoint/metadata.ll b/test/BugPoint/metadata.ll
index 44d109aa007..cd0de61e6be 100644
--- a/test/BugPoint/metadata.ll
+++ b/test/BugPoint/metadata.ll
@@ -24,6 +24,7 @@ define void @test(i32* %a, i8* %b) {
declare void @foo()
!llvm.module.flags = !{!17}
+!llvm.dbg.cu = !{!8}
!0 = !{!"boring"}
!1 = !{!"uninteresting"}
@@ -31,6 +32,7 @@ declare void @foo()
!3 = !{!"noise"}
!4 = !{!"filler"}
+!8 = distinct !DICompileUnit(language: DW_LANG_C99, file: !15, subprograms: !{!9})
!9 = distinct !DISubprogram(name: "test", file: !15)
!10 = !DILocation(line: 100, column: 101, scope: !9)
!11 = !DILocation(line: 102, column: 103, scope: !9)