1 ; RUN: llc -filetype=obj -o - < %s | llvm-readobj --codeview - | FileCheck %s
2 ; Check that debug info isn't emitted for CodeView with emissionKind NoDebug
4 ; CHECK-NOT: CodeViewTypes
5 ; CHECK-NOT: CodeViewDebugInfo
7 source_filename = "empty"
8 target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
9 target triple = "x86_64-pc-windows-msvc19.0.24215"
12 !llvm.module.flags = !{!2, !3}
14 !0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "clang", emissionKind: NoDebug)
15 !1 = !DIFile(filename: "empty", directory: "path/to")
16 !2 = !{i32 2, !"CodeView", i32 1}
17 !3 = !{i32 2, !"Debug Info Version", i32 3}