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

16 lines
281 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
# 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
...