blob: 37ef201313ed647ed2fde83057f7723081a58802 [file] [edit]
;; This test ensures that the backend does not crash when CodeView is enabled
;; through module flags but llvm.dbg.cu is missing.
; RUN: llc < %s -mtriple=x86_64-unknown-uefi | FileCheck %s
define void @foo() {
entry:
ret void
}
!llvm.module.flags = !{!0}
!0 = !{i32 2, !"CodeView", i32 1}
; CHECK-LABEL: foo:
; CHECK: retq