18 lines · plain
1; RUN: llvm-as -disable-output <%s 2>&1 | FileCheck %s2; CHECK: invalid #dbg record address/value3; CHECK-NEXT: #dbg_value({{.*}})4; CHECK-NEXT: !""5; CHECK: warning: ignoring invalid debug info6 7define void @foo(i32 %a) {8entry:9 %s = alloca i3210 #dbg_value(!"", !DILocalVariable(scope: !1), !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