17 lines · plain
1; RUN: llc -filetype=obj -o - < %s | llvm-readobj --codeview - | FileCheck %s2; Check that compiler info is not emitted when CodeView flag is not specified3 4; CHECK-NOT: CodeViewTypes5; CHECK-NOT: CodeViewDebugInfo6 7source_filename = "empty"8target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"9target triple = "x86_64-unknown-uefi"10 11!llvm.dbg.cu = !{!0}12!llvm.module.flags = !{!2}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, !"Debug Info Version", i32 3}17