diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-12-22 00:45:21 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-12-22 00:45:21 +0000 |
commit | 1eadba1c8c813aa7f53c784711ace70daa73b474 (patch) | |
tree | 33e988c4a144a9c6862d46dafdab31c3198f0a1f /llvm/test/DebugInfo/Generic/tu-member-pointer.ll | |
parent | 58c19106429a98c3f3f5c7d36282774432326784 (diff) | |
download | bcm5719-llvm-1eadba1c8c813aa7f53c784711ace70daa73b474.tar.gz bcm5719-llvm-1eadba1c8c813aa7f53c784711ace70daa73b474.zip |
Renumber testcase metadata nodes after r290153.
This patch renumbers the metadata nodes in debug info testcases after
https://reviews.llvm.org/D26769. This is a separate patch because it
causes so much churn. This was implemented with a python script that
pipes the testcases through llvm-as - | llvm-dis - and then goes
through the original and new output side-by side to insert all
comments at a close-enough location.
Differential Revision: https://reviews.llvm.org/D27765
llvm-svn: 290292
Diffstat (limited to 'llvm/test/DebugInfo/Generic/tu-member-pointer.ll')
-rw-r--r-- | llvm/test/DebugInfo/Generic/tu-member-pointer.ll | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/llvm/test/DebugInfo/Generic/tu-member-pointer.ll b/llvm/test/DebugInfo/Generic/tu-member-pointer.ll index 9d057da6559..91ffe94ce67 100644 --- a/llvm/test/DebugInfo/Generic/tu-member-pointer.ll +++ b/llvm/test/DebugInfo/Generic/tu-member-pointer.ll @@ -11,20 +11,23 @@ ; }; ; int Foo:*x = 0; -@x = global i64 -1, align 8, !dbg !6 +source_filename = "test/DebugInfo/Generic/tu-member-pointer.ll" -!llvm.dbg.cu = !{!0} +@x = global i64 -1, align 8, !dbg !0 + +!llvm.dbg.cu = !{!6} !llvm.module.flags = !{!10, !11} -!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.4", isOptimized: false, emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !3, globals: !5, imports: !2) -!1 = !DIFile(filename: "foo.cpp", directory: ".") -!2 = !{} -!3 = !{!4} -!4 = !DICompositeType(tag: DW_TAG_structure_type, name: "Foo", line: 1, flags: DIFlagFwdDecl, file: !1, identifier: "_ZTS3Foo") -!5 = !{!6} -!6 = !DIGlobalVariableExpression(var: !DIGlobalVariable(name: "x", line: 4, isLocal: false, isDefinition: true, scope: null, file: !7, type: !8)) -!7 = !DIFile(filename: "foo.cpp", directory: ".") -!8 = !DIDerivedType(tag: DW_TAG_ptr_to_member_type, baseType: !9, extraData: !4) -!9 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) +!0 = !DIGlobalVariableExpression(var: !1) +!1 = !DIGlobalVariable(name: "x", scope: null, file: !2, line: 4, type: !3, isLocal: false, isDefinition: true) +!2 = !DIFile(filename: "foo.cpp", directory: ".") +!3 = !DIDerivedType(tag: DW_TAG_ptr_to_member_type, baseType: !4, extraData: !5) +!4 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed) +!5 = !DICompositeType(tag: DW_TAG_structure_type, name: "Foo", file: !2, line: 1, flags: DIFlagFwdDecl, identifier: "_ZTS3Foo") +!6 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !2, producer: "clang version 3.4", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !7, retainedTypes: !8, globals: !9, imports: !7) +!7 = !{} +!8 = !{!5} +!9 = !{!0} !10 = !{i32 2, !"Dwarf Version", i32 2} !11 = !{i32 1, !"Debug Info Version", i32 3} + |