summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit115edcaec1697f193baa68dafde802c81afd1c87 (patch)
tree725ffa5d48fec9dbab1702ab22fd1e356813cf7d /llvm/test/BugPoint
parent6917b4ac5a0146ffc9e67805624fbf072f32b6d0 (diff)
downloadbcm5719-llvm-115edcaec1697f193baa68dafde802c81afd1c87.tar.gz
bcm5719-llvm-115edcaec1697f193baa68dafde802c81afd1c87.zip
Add missing DICompileUnit to this testcase
llvm-svn: 265995
Diffstat (limited to 'llvm/test/BugPoint')
-rw-r--r--llvm/test/BugPoint/metadata.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/BugPoint/metadata.ll b/llvm/test/BugPoint/metadata.ll
index 44d109aa007..cd0de61e6be 100644
--- a/llvm/test/BugPoint/metadata.ll
+++ b/llvm/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)
OpenPOWER on IntegriCloud