summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/PowerPC/tls-fission.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/DebugInfo/PowerPC/tls-fission.ll')
-rw-r--r--llvm/test/DebugInfo/PowerPC/tls-fission.ll21
1 files changed, 12 insertions, 9 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}
+
OpenPOWER on IntegriCloud