| 1 |
; RUN: llc --filetype=obj %s -o - | dxil-dis -o - | FileCheck %s |
| 2 |
target triple = "dxil-unknown-shadermodel6.7-library" |
| 3 |
|
| 4 |
!llvm.dbg.cu = !{!0} |
| 5 |
!llvm.module.flags = !{!3, !4} |
| 6 |
|
| 7 |
; CHECK: !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "Some Compiler", isOptimized: true, runtimeVersion: 0, emissionKind: 1, enums: !2) |
| 8 |
!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "Some Compiler", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, splitDebugInlining: false, nameTableKind: None) |
| 9 |
; CHECK: !1 = !DIFile(filename: "some-source", directory: "some-path") |
| 10 |
!1 = !DIFile(filename: "some-source", directory: "some-path") |
| 11 |
!2 = !{} |
| 12 |
|
| 13 |
; CHECK: !3 = !{i32 2, !"Dwarf Version", i32 4} |
| 14 |
!3 = !{i32 2, !"Dwarf Version", i32 4} |
| 15 |
; CHECK: !4 = !{i32 2, !"Debug Info Version", i32 3} |
| 16 |
!4 = !{i32 2, !"Debug Info Version", i32 3} |