blob: 9d400b892ce8c12112dd0304aa28108383eb55db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
; RUN: llvm-as -disable-output <%s 2>&1 | FileCheck %s
; CHECK: invalid #dbg record address/value
; CHECK-NEXT: #dbg_declare({{.*}})
; CHECK-NEXT: !""
; CHECK: warning: ignoring invalid debug info
define void @foo(i32 %a) {
entry:
%s = alloca i32
#dbg_declare(!"", !DILocalVariable(scope: !1), !DIExpression(), !DILocation(scope: !1))
ret void
}
!llvm.module.flags = !{!0}
!0 = !{i32 2, !"Debug Info Version", i32 3}
!1 = distinct !DISubprogram()
|