summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll
diff options
context:
space:
mode:
authorAmjad Aboud <amjad.aboud@intel.com>2016-04-29 16:07:55 +0000
committerAmjad Aboud <amjad.aboud@intel.com>2016-04-29 16:07:55 +0000
commit293ee8bba18fcd166f19a0338133d63487da4f33 (patch)
treef2a2e147c26c392e14ec3521c9f80cf014d1200e /llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll
parentd8bceb9d3a17f0dc1648f3037b6b020645daeab1 (diff)
downloadbcm5719-llvm-293ee8bba18fcd166f19a0338133d63487da4f33.tar.gz
bcm5719-llvm-293ee8bba18fcd166f19a0338133d63487da4f33.zip
Recommitted r264280 "Supporting all entities declared in lexical scope in LLVM debug info."
After fixing PR26942 in r267004. llvm-svn: 268054
Diffstat (limited to 'llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll')
-rw-r--r--llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll b/llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll
index e70be4c85dd..8ce6687039a 100644
--- a/llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll
+++ b/llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll
@@ -27,7 +27,7 @@ entry:
!0 = distinct !DISubprogram(name: "foo", line: 9, isLocal: true, isDefinition: true, virtualIndex: 6, isOptimized: true, unit: !2, scopeLine: 9, file: !27, scope: !1, type: !3, variables: !24)
!1 = !DIFile(filename: "bar.c", directory: "/tmp/")
-!2 = distinct !DICompileUnit(language: DW_LANG_C89, producer: "4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", isOptimized: true, emissionKind: FullDebug, file: !27, enums: !20, retainedTypes: !20, globals: !26, imports: !20)
+!2 = distinct !DICompileUnit(language: DW_LANG_C89, producer: "4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", isOptimized: true, emissionKind: FullDebug, file: !27, enums: !20, retainedTypes: !111, globals: !26, imports: !20)
!3 = !DISubroutineType(types: !4)
!4 = !{!5, !5}
!5 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
@@ -39,6 +39,7 @@ entry:
!109 = !DILocalVariable(name: "j", line: 9, arg: 1, scope: !0, file: !1, type: !5)
!110 = !DILocalVariable(name: "xyz", line: 10, scope: !11, file: !1, type: !12)
+!111 = !{!12}
!11 = distinct !DILexicalBlock(line: 9, column: 0, file: !1, scope: !0)
!12 = !DICompositeType(tag: DW_TAG_structure_type, name: "X", line: 10, size: 64, align: 32, file: !27, scope: !0, elements: !13)
OpenPOWER on IntegriCloud