diff options
4 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Transforms/AddDiscriminators/dbg-declare-discriminator.ll b/llvm/test/Transforms/AddDiscriminators/dbg-declare-discriminator.ll index 5e90d32a62e..f1d4c07886d 100644 --- a/llvm/test/Transforms/AddDiscriminators/dbg-declare-discriminator.ll +++ b/llvm/test/Transforms/AddDiscriminators/dbg-declare-discriminator.ll @@ -15,6 +15,7 @@ define void @test_valid_metadata() { } !llvm.module.flags = !{!0, !1} +!llvm.dbg.cu = !{!12} !0 = !{i32 2, !"Dwarf Version", i32 4} !1 = !{i32 2, !"Debug Info Version", i32 3} @@ -28,3 +29,4 @@ define void @test_valid_metadata() { !9 = !DILocalVariable(scope: !10) !10 = distinct !DISubprogram(scope: null, file: !4, isLocal: false, isDefinition: true, isOptimized: false) !11 = !DILocation(line: 0, scope: !10) +!12 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.5 ", isOptimized: false, emissionKind: FullDebug, file: !4, subprograms: !{!3, !8, !10}) diff --git a/llvm/test/Transforms/SampleProfile/fnptr.ll b/llvm/test/Transforms/SampleProfile/fnptr.ll index 7b07ca9679b..4873543f6ef 100644 --- a/llvm/test/Transforms/SampleProfile/fnptr.ll +++ b/llvm/test/Transforms/SampleProfile/fnptr.ll @@ -126,6 +126,7 @@ declare i32 @printf(i8* nocapture readonly, ...) #1 !llvm.module.flags = !{!0} !llvm.ident = !{!1} +!llvm.dbg.cu = !{!26} !0 = !{i32 2, !"Debug Info Version", i32 3} !1 = !{!"clang version 3.6.0 "} @@ -153,3 +154,4 @@ declare i32 @printf(i8* nocapture readonly, ...) #1 !23 = !{!"branch_weights", i32 0, i32 534} !24 = !DILocation(line: 27, column: 3, scope: !13) !25 = !DILocation(line: 28, column: 3, scope: !13) +!26 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.5 ", isOptimized: false, emissionKind: FullDebug, file: !4, subprograms: !{!3, !10, !13}) diff --git a/llvm/test/Transforms/SampleProfile/inline-combine.ll b/llvm/test/Transforms/SampleProfile/inline-combine.ll index 112878eaa78..8ea074c90d3 100644 --- a/llvm/test/Transforms/SampleProfile/inline-combine.ll +++ b/llvm/test/Transforms/SampleProfile/inline-combine.ll @@ -32,6 +32,7 @@ define void @bar(%"class.llvm::SmallVectorImpl"* %this) comdat align 2 !dbg !8 { !llvm.module.flags = !{!0, !1} !llvm.ident = !{!2} +!llvm.dbg.cu = !{!9} !0 = !{i32 2, !"Dwarf Version", i32 4} !1 = !{i32 1, !"Debug Info Version", i32 3} @@ -42,3 +43,4 @@ define void @bar(%"class.llvm::SmallVectorImpl"* %this) comdat align 2 !dbg !8 { !6 = !{} !7 = !DILocation(line: 4, scope: !3) !8 = distinct !DISubprogram(name: "bar", scope: !4, file: !4, line: 7, type: !5, isLocal: false, isDefinition: true, scopeLine: 7, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, variables: !6) +!9 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.5 ", isOptimized: false, emissionKind: FullDebug, file: !4, subprograms: !{!3, !8}) diff --git a/llvm/test/Transforms/SampleProfile/inline-hint.ll b/llvm/test/Transforms/SampleProfile/inline-hint.ll index 16c4e64ec5b..5da57d5d525 100644 --- a/llvm/test/Transforms/SampleProfile/inline-hint.ll +++ b/llvm/test/Transforms/SampleProfile/inline-hint.ll @@ -14,7 +14,9 @@ entry: !llvm.module.flags = !{!17, !18} !llvm.ident = !{!19} +!llvm.dbg.cu = !{!0} +!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.5 ", isOptimized: false, emissionKind: FullDebug, file: !1, subprograms: !{!4, !10, !11, !14}) !1 = !DIFile(filename: "inline-hint.cc", directory: ".") !2 = !{} !3 = !{!4, !10, !11, !14} |