[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / DebugInfo / X86 / unattached-global.ll
blob5e9af695c8dc01607c11d9815c2a7094e886d960
1 ; RUN: %llc_dwarf -filetype=obj -o - %s | llvm-dwarfdump - | FileCheck %s
3 target datalayout = "e-p:64:64"
4 target triple = "x86_64-unknown-linux-gnu"
6 ; CHECK: DW_TAG_variable
7 ; CHECK: DW_AT_name {{.*}}"a"
8 ; CHECK-NOT: DW_AT_location
9 ; CHECK: DW_TAG
11 !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang", file: !5, globals: !1, emissionKind: FullDebug)
12 !1 = !{!2}
13 !2 = !DIGlobalVariableExpression(var: !3, expr: !4)
14 !3 = distinct !DIGlobalVariable(name: "a", scope: null, isLocal: false, isDefinition: true, type: !6)
15 !4 = !DIExpression(DW_OP_plus_uconst, 4)
16 !5 = !DIFile(filename: "<stdin>", directory: "/")
17 !6 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
19 !7 = !{i32 2, !"Dwarf Version", i32 2}
20 !8 = !{i32 2, !"Debug Info Version", i32 3}
22 !llvm.dbg.cu = !{!0}
23 !llvm.module.flags = !{!7, !8}