DI: Require subprogram definitions to be distinct
[oota-llvm.git] / test / CodeGen / X86 / StackColoring-dbg.ll
index 4091147bbf9cbcb42ccd9e793c6ff66d6bc20897..91fe7f819383234c2c71e9490663ce14374bb90d 100644 (file)
@@ -30,6 +30,6 @@ declare void @llvm.lifetime.end(i64, i8* nocapture) nounwind
 !0 = distinct !DICompileUnit(language: DW_LANG_C89, producer: "clang", isOptimized: true, emissionKind: 0, file: !1, enums: !{}, retainedTypes: !{})
 !1 = !DIFile(filename: "t.c", directory: "")
 !16 = !DIBasicType(tag: DW_TAG_base_type, name: "char", size: 8, align: 8, encoding: DW_ATE_signed_char)
-!2 = !DISubprogram()
+!2 = distinct !DISubprogram()
 !22 = !DILocalVariable(name: "x", line: 16, scope: !2, file: !1, type: !16)
 !23 = !{i32 1, !"Debug Info Version", i32 3}