DI: Require subprogram definitions to be distinct
[oota-llvm.git] / test / Transforms / SampleProfile / branch.ll
index 00b37c929043ca3c8f059de910109f1c201a605a..051a73847b2b749c2f75d5f3c9b4366a25a1279d 100644 (file)
@@ -102,7 +102,7 @@ attributes #4 = { nounwind readonly }
 !1 = !DIFile(filename: "branch.cc", directory: ".")
 !2 = !{}
 !3 = !{!4}
-!4 = !DISubprogram(name: "main", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 4, file: !1, scope: !5, type: !6, function: i32 (i32, i8**)* @main, variables: !12)
+!4 = distinct !DISubprogram(name: "main", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 4, file: !1, scope: !5, type: !6, function: i32 (i32, i8**)* @main, variables: !12)
 !5 = !DIFile(filename: "branch.cc", directory: ".")
 !6 = !DISubroutineType(types: !7)
 !7 = !{!8, !8, !9}