mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 13:21:30 +00:00
Make the distinct DISubprogram in this testcase really distinct.
llvm-svn: 265962
This commit is contained in:
parent
b0e1a93e69
commit
0a054f0224
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user