blob: d44ba086c7435198cbf5a92f940cfac77fda628f [file] [log] [blame]
# RUN: not --crash llc -run-pass machineverifier -o - %s 2>&1 | FileCheck %s
# CHECK: Bad machine code: Missing DebugLoc for debug instruction
# CHECK: - instruction: DBG_VALUE 1, 2, 3, 4
--- |
define i32 @foo() {
entry:
ret i32 0
}
...
---
name: foo
body: |
bb.0.entry:
DBG_VALUE 1, 2, 3, 4
...