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 3 4; CHECK-NOT: CodeViewTypes 5; CHECK-NOT: CodeViewDebugInfo 6 7source_filename = "empty" 8target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128" 9target triple = "x86_64-pc-windows-msvc19.0.24215" 10 11!llvm.dbg.cu = !{!0} 12!llvm.module.flags = !{!2, !3} 13 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} 18