diff options
Diffstat (limited to 'llvm/test/DebugInfo/X86/multiple-aranges.ll')
-rw-r--r-- | llvm/test/DebugInfo/X86/multiple-aranges.ll | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/llvm/test/DebugInfo/X86/multiple-aranges.ll b/llvm/test/DebugInfo/X86/multiple-aranges.ll index 697207903e0..6fe2e30deae 100644 --- a/llvm/test/DebugInfo/X86/multiple-aranges.ll +++ b/llvm/test/DebugInfo/X86/multiple-aranges.ll @@ -26,35 +26,33 @@ ; CHECK-NEXT: .quad 0 # ARange terminator ; CHECK-NEXT: .quad 0 - ; Generated from: clang -c -g -emit-llvm ; llvm-link test1.bc test2.bc -o test.bc ; test1.c: int kittens = 4; ; test2.c: int rainbows = 5; - - - ; ModuleID = 'test.bc' +source_filename = "test/DebugInfo/X86/multiple-aranges.ll" target triple = "x86_64-unknown-linux-gnu" -@kittens = global i32 4, align 4, !dbg !4 -@rainbows = global i32 5, align 4, !dbg !10 +@kittens = global i32 4, align 4, !dbg !0 +@rainbows = global i32 5, align 4, !dbg !4 -!llvm.dbg.cu = !{!0, !7} +!llvm.dbg.cu = !{!7, !10} !llvm.module.flags = !{!12, !13} -!0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.4 ", isOptimized: false, emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !2, globals: !3, imports: !2) -!1 = !DIFile(filename: "test1.c", directory: "/home/kayamon") -!2 = !{} -!3 = !{!4} -!4 = !DIGlobalVariableExpression(var: !DIGlobalVariable(name: "kittens", line: 1, isLocal: false, isDefinition: true, scope: null, file: !5, type: !6)) -!5 = !DIFile(filename: "test1.c", directory: "/home/kayamon") -!6 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) -!7 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.4 ", isOptimized: false, emissionKind: FullDebug, file: !8, enums: !2, retainedTypes: !2, globals: !9, imports: !2) -!8 = !DIFile(filename: "test2.c", directory: "/home/kayamon") -!9 = !{!10} -!10 = !DIGlobalVariableExpression(var: !DIGlobalVariable(name: "rainbows", line: 1, isLocal: false, isDefinition: true, scope: null, file: !11, type: !6)) -!11 = !DIFile(filename: "test2.c", directory: "/home/kayamon") +!0 = !DIGlobalVariableExpression(var: !1) +!1 = !DIGlobalVariable(name: "kittens", scope: null, file: !2, line: 1, type: !3, isLocal: false, isDefinition: true) +!2 = !DIFile(filename: "test1.c", directory: "/home/kayamon") +!3 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed) +!4 = !DIGlobalVariableExpression(var: !5) +!5 = !DIGlobalVariable(name: "rainbows", scope: null, file: !6, line: 1, type: !3, isLocal: false, isDefinition: true) +!6 = !DIFile(filename: "test2.c", directory: "/home/kayamon") +!7 = distinct !DICompileUnit(language: DW_LANG_C99, file: !2, producer: "clang version 3.4 ", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !8, retainedTypes: !8, globals: !9, imports: !8) +!8 = !{} +!9 = !{!0} +!10 = distinct !DICompileUnit(language: DW_LANG_C99, file: !6, producer: "clang version 3.4 ", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !8, retainedTypes: !8, globals: !11, imports: !8) +!11 = !{!4} !12 = !{i32 2, !"Dwarf Version", i32 4} !13 = !{i32 1, !"Debug Info Version", i32 3} + |