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/PowerPC | |
| 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/PowerPC')
| -rw-r--r-- | llvm/test/DebugInfo/PowerPC/tls-fission.ll | 21 | ||||
| -rw-r--r-- | llvm/test/DebugInfo/PowerPC/tls.ll | 22 |
2 files changed, 24 insertions, 19 deletions
diff --git a/llvm/test/DebugInfo/PowerPC/tls-fission.ll b/llvm/test/DebugInfo/PowerPC/tls-fission.ll index f2c22d76e96..358fd5b32c4 100644 --- a/llvm/test/DebugInfo/PowerPC/tls-fission.ll +++ b/llvm/test/DebugInfo/PowerPC/tls-fission.ll @@ -17,17 +17,20 @@ ; CHECK-NEXT: .Laddr_sec: ; CHECK-NEXT: .quad tls@DTPREL+32768 -@tls = thread_local global i32 0, align 4, !dbg !4 +source_filename = "test/DebugInfo/PowerPC/tls-fission.ll" -!llvm.dbg.cu = !{!0} +@tls = thread_local global i32 0, align 4, !dbg !0 + +!llvm.dbg.cu = !{!4} !llvm.module.flags = !{!7, !8} -!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.4 ", isOptimized: false, splitDebugFilename: "tls.dwo", emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !2, globals: !3, imports: !2) -!1 = !DIFile(filename: "tls.cpp", directory: "/tmp") -!2 = !{} -!3 = !{!4} -!4 = !DIGlobalVariableExpression(var: !DIGlobalVariable(name: "tls", line: 1, isLocal: false, isDefinition: true, scope: null, file: !5, type: !6)) -!5 = !DIFile(filename: "tls.cpp", directory: "/tmp") -!6 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) +!0 = !DIGlobalVariableExpression(var: !1) +!1 = !DIGlobalVariable(name: "tls", scope: null, file: !2, line: 1, type: !3, isLocal: false, isDefinition: true) +!2 = !DIFile(filename: "tls.cpp", directory: "/tmp") +!3 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed) +!4 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !2, producer: "clang version 3.4 ", isOptimized: false, runtimeVersion: 0, splitDebugFilename: "tls.dwo", emissionKind: FullDebug, enums: !5, retainedTypes: !5, globals: !6, imports: !5) +!5 = !{} +!6 = !{!0} !7 = !{i32 2, !"Dwarf Version", i32 3} !8 = !{i32 1, !"Debug Info Version", i32 3} + diff --git a/llvm/test/DebugInfo/PowerPC/tls.ll b/llvm/test/DebugInfo/PowerPC/tls.ll index 8ce0d4c2967..285d1743ac7 100644 --- a/llvm/test/DebugInfo/PowerPC/tls.ll +++ b/llvm/test/DebugInfo/PowerPC/tls.ll @@ -12,18 +12,20 @@ ; DW_OP_GNU_push_tls_address ; CHECK: .byte 224 -@tls = thread_local global i32 7, align 4, !dbg !4 +source_filename = "test/DebugInfo/PowerPC/tls.ll" -!llvm.dbg.cu = !{!0} +@tls = thread_local global i32 7, align 4, !dbg !0 + +!llvm.dbg.cu = !{!4} !llvm.module.flags = !{!7, !8} -!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.4 ", isOptimized: false, emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !2, globals: !3, imports: !2) -!1 = !DIFile(filename: "tls.cpp", directory: "/tmp") -!2 = !{} -!3 = !{!4} -!4 = !DIGlobalVariableExpression(var: !DIGlobalVariable(name: "tls", line: 1, isLocal: false, isDefinition: true, scope: null, file: !5, type: !6)) -!5 = !DIFile(filename: "tls.cpp", directory: "/tmp") -!6 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) +!0 = !DIGlobalVariableExpression(var: !1) +!1 = !DIGlobalVariable(name: "tls", scope: null, file: !2, line: 1, type: !3, isLocal: false, isDefinition: true) +!2 = !DIFile(filename: "tls.cpp", directory: "/tmp") +!3 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed) +!4 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !2, producer: "clang version 3.4 ", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !5, retainedTypes: !5, globals: !6, imports: !5) +!5 = !{} +!6 = !{!0} !7 = !{i32 2, !"Dwarf Version", i32 3} - !8 = !{i32 1, !"Debug Info Version", i32 3} + |

