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

16 lines
281 B
Plaintext
Raw Normal View History

# 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
...