Mercurial > hg > CbC > CbC_llvm
view test/Verifier/dbg-difile-crash.ll @ 129:9ec641e857f8
Fix compile error to update llvm 5.0
author | mir3636 |
---|---|
date | Tue, 12 Dec 2017 19:42:58 +0900 |
parents | 803732b1fca8 |
children |
line wrap: on
line source
; RUN: llvm-as -disable-output <%s 2>&1 | FileCheck %s ; CHECK: invalid file ; CHECK: warning: ignoring invalid debug info define void @blah() !dbg !3 { ret void } !llvm.module.flags = !{!0} !0 = !{i32 2, !"Debug Info Version", i32 3} !llvm.dbg.cu = !{!1} !1 = distinct !DICompileUnit(file: !2, language: DW_LANG_C99) !2 = !DIFile(filename: "file.c", directory: "/path/to/dir") !3 = distinct !DISubprogram(name: "blah", file: !1, unit: !1)