brintos

brintos / llvm-project-archived public Read only

0
0
Text · 772 B · 0a18585 Raw
18 lines · plain
1; REQUIRES: x86-registered-target2; RUN: %clang_cc1 -triple i386-apple-darwin -disable-llvm-optzns -S %s -o - 2>&1 \3; RUN:   | FileCheck %s4; CHECK: invalid global variable ref5; CHECK: warning: ignoring invalid debug info in {{.*}}.ll6 7@global = common global i32 0, align 4, !dbg !28 9!llvm.dbg.cu = !{!0}10!llvm.module.flags = !{!5, !6}11 12!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "adrian", emissionKind: FullDebug, globals: !{!3})13!1 = !DIFile(filename: "broken.c", directory: "/")14!2 = !DIGlobalVariableExpression(var: !3, expr: !DIExpression())15!3 = !DIGlobalVariable(name: "g", scope: !0, file: !1, line: 1, type: !1, isLocal: false, isDefinition: true)16!5 = !{i32 2, !"Dwarf Version", i32 4}17!6 = !{i32 1, !"Debug Info Version", i32 3}18