You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
327 B
20 lines
327 B
4 months ago
|
# 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
|
||
|
...
|