brintos

brintos / llvm-project-archived public Read only

0
0
Text · 432 B · db2b0e0 Raw
18 lines · plain
1; RUN: llvm-as -disable-output <%s 2>&1 | FileCheck %s2; CHECK: invalid #dbg record variable3; CHECK-NEXT: #dbg_declare({{.*}})4; CHECK-NEXT: !{}5; CHECK: warning: ignoring invalid debug info6 7define void @foo(i32 %a) {8entry:9  %s = alloca i3210    #dbg_declare(ptr %s, !{}, !DIExpression(), !DILocation(scope: !1))11  ret void12}13 14 15!llvm.module.flags = !{!0}16!0 = !{i32 2, !"Debug Info Version", i32 3}17!1 = distinct !DISubprogram()18