summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll
diff options
context:
space:
mode:
authorAmjad Aboud <amjad.aboud@intel.com>2016-03-24 13:30:16 +0000
committerAmjad Aboud <amjad.aboud@intel.com>2016-03-24 13:30:16 +0000
commit6ff7e10052b72389c99afcb622df879d8777c2d7 (patch)
treea83b01d56d170c06ba7c8544981e1176d3434e81 /llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll
parent837f15187b8499e2326cf2e403bffc97669c6c2e (diff)
downloadbcm5719-llvm-6ff7e10052b72389c99afcb622df879d8777c2d7.tar.gz
bcm5719-llvm-6ff7e10052b72389c99afcb622df879d8777c2d7.zip
Recommitted r263424 "Supporting all entities declared in lexical scope in LLVM debug info."
After fixing PR26942 (the fix is included in this commit). Differential Revision: http://reviews.llvm.org/D18350 llvm-svn: 264280
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 a262fc8e88c..0b1490adbc6 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, 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: 0, file: !27, enums: !20, retainedTypes: !20, subprograms: !25, 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: 0, file: !27, enums: !20, retainedTypes: !111, subprograms: !25, 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