brintos

brintos / llvm-project-archived public Read only

0
0
Text · 659 B · 93cd74f Raw
16 lines · plain
1; RUN: opt -S <%s 2>&1| FileCheck %s2; CHECK: ignoring debug info with an invalid version (0)3 4; CHECK: @Var = internal global i32 05; CHECK-NOT: !dbg6@Var = internal global i32 0, !dbg !07 8; Test that StripDebugInfo strips global variables.9 10; CHECK-NOT: DIGlobalVariable11 12!0 = !DIGlobalVariable(name: "Var", line: 2, isLocal: true, isDefinition: true, scope: !1, file: !3, type: !2)13!1 = distinct !DICompileUnit(language: DW_LANG_C89, producer: "adrian", isOptimized: true, emissionKind: FullDebug, file: !3)14!2 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)15!3 = !DIFile(filename: "var.c", directory: "/")16