You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
453 B
16 lines
453 B
; RUN: llvm-as -disable-output <%s 2>&1 | FileCheck %s
|
|
; CHECK: line specified with no file
|
|
; CHECK: warning: ignoring invalid debug info
|
|
|
|
define void @foo() !dbg !3 {
|
|
ret void
|
|
}
|
|
|
|
!llvm.module.flags = !{!0}
|
|
!llvm.dbg.cu = !{!1}
|
|
|
|
!0 = !{i32 2, !"Debug Info Version", i32 3}
|
|
!1 = distinct !DICompileUnit(language: DW_LANG_C, file: !2)
|
|
!2 = !DIFile(filename: "foo.c", directory: "")
|
|
!3 = distinct !DISubprogram(name: "foo", scope: !1, line: 1, unit: !1)
|