diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-04-11 16:58:40 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-04-11 16:58:40 +0000 |
commit | 7452093e99e8314ee32cfdc76500099568642111 (patch) | |
tree | f4f25997d5f1c30e32520fb4b85f9d49550c29e5 | |
parent | d1f52b672aa3cb19ef4b9ddab45bbfb4810427e9 (diff) | |
download | bcm5719-llvm-7452093e99e8314ee32cfdc76500099568642111.tar.gz bcm5719-llvm-7452093e99e8314ee32cfdc76500099568642111.zip |
Make the distinct DISubprogram in this testcase really distinct.
llvm-svn: 265962
-rw-r--r-- | llvm/test/DebugInfo/Generic/cross-cu-linkonce.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/Generic/cross-cu-linkonce.ll b/llvm/test/DebugInfo/Generic/cross-cu-linkonce.ll index 812c84567c1..769d195b547 100644 --- a/llvm/test/DebugInfo/Generic/cross-cu-linkonce.ll +++ b/llvm/test/DebugInfo/Generic/cross-cu-linkonce.ll @@ -61,7 +61,7 @@ attributes #1 = { nounwind readnone } !10 = !{!11} !11 = !DIGlobalVariable(name: "x", line: 4, isLocal: false, isDefinition: true, scope: null, file: !6, type: !12, variable: i32 (i32)** @x) !12 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !7) -!13 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.5.0 ", isOptimized: false, emissionKind: FullDebug, file: !14, enums: !2, retainedTypes: !2, subprograms: !3, globals: !15, imports: !2) +!13 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.5.0 ", isOptimized: false, emissionKind: FullDebug, file: !14, enums: !2, retainedTypes: !2, subprograms: !23, globals: !15, imports: !2) !14 = !DIFile(filename: "b.cpp", directory: "/tmp/dbginfo") !15 = !{!16} !16 = !DIGlobalVariable(name: "y", line: 4, isLocal: false, isDefinition: true, scope: null, file: !6, type: !12, variable: i32 (i32)** @y) @@ -71,3 +71,5 @@ attributes #1 = { nounwind readnone } !20 = !DILocalVariable(name: "i", line: 1, arg: 1, scope: !4, file: !6, type: !9) !21 = !DILocation(line: 1, scope: !4) !22 = !DILocation(line: 2, scope: !4) +!23 = !{!24} +!24 = distinct !DISubprogram(name: "func", linkageName: "_Z4funci", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !5, scope: !6, type: !7, variables: !2) |