[DebugInfo] Fix tests in Assembler/
Each DISubprogram with isDefinition : true must
belong to a compile unit.
llvm-svn: 265281
diff --git a/llvm/test/Assembler/disubprogram.ll b/llvm/test/Assembler/disubprogram.ll
index 59d349f..0131cb1 100644
--- a/llvm/test/Assembler/disubprogram.ll
+++ b/llvm/test/Assembler/disubprogram.ll
@@ -51,3 +51,10 @@
!12 = !{i32 1, !"Debug Info Version", i32 3}
!llvm.module.flags = !{!12}
+!llvm.dbg.cu = !{!13}
+
+!13 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang",
+ file: !2,
+ isOptimized: true, flags: "-O2",
+ splitDebugFilename: "abc.debug", emissionKind: 2,
+ subprograms: !{!7, !9, !10, !11})