diff options
author | Davide Italiano <davide@freebsd.org> | 2016-03-31 03:40:07 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2016-03-31 03:40:07 +0000 |
commit | 936a2b09f366267454b7cff9ffb9e76240137bf8 (patch) | |
tree | be85d129e638ec01e1209a6df5b38a6c22f69762 /llvm/test/Transforms/Mem2Reg | |
parent | 54f0cda625d0fee9b357fc98d4036cbf7b98a424 (diff) | |
download | bcm5719-llvm-936a2b09f366267454b7cff9ffb9e76240137bf8.tar.gz bcm5719-llvm-936a2b09f366267454b7cff9ffb9e76240137bf8.zip |
[DebugInfo] Subprograms should belong to a CU.
Start fixing tests accordingly. There are still
about 35 failures before we can enable this check
in the IR verifier.
llvm-svn: 264990
Diffstat (limited to 'llvm/test/Transforms/Mem2Reg')
-rw-r--r-- | llvm/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll b/llvm/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll index 071d708e1fe..77a38215a54 100644 --- a/llvm/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll +++ b/llvm/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll @@ -45,7 +45,7 @@ return: ; preds = %entry !0 = !DILocalVariable(name: "a", line: 8, arg: 1, scope: !1, file: !2, type: !6) !1 = distinct !DISubprogram(name: "baz", linkageName: "baz", line: 8, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, scopeLine: 8, file: !20, scope: !2, type: !4) !2 = !DIFile(filename: "bar.c", directory: "/tmp/") -!3 = distinct !DICompileUnit(language: DW_LANG_C89, producer: "4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", isOptimized: true, emissionKind: 0, file: !20, enums: !21, retainedTypes: !21, subprograms: !{!1}) +!3 = distinct !DICompileUnit(language: DW_LANG_C89, producer: "4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", isOptimized: true, emissionKind: 0, file: !20, enums: !21, retainedTypes: !21, subprograms: !{!1, !10}) !4 = !DISubroutineType(types: !5) !5 = !{null, !6} !6 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) |