llvm-for-llvmta/test/CodeGen/MIR/X86/invalid-debug-location.mir

16 lines
281 B
YAML

# RUN: not llc -o - %s -run-pass=none 2>&1 | FileCheck %s
--- |
target triple="x86_64--"
define void @func() {
unreachable
}
!0 = !{}
...
---
name: func
body: |
bb.0:
; CHECK: [[@LINE+1]]:27: referenced metadata is not a DILocation
NOOP debug-location !0
...