brintos

brintos / llvm-project-archived public Read only

0
0
Text · 414 B · 0ee7a53 Raw
21 lines · plain
1# RUN: not --crash llc -run-pass machineverifier -o - %s 2>&1 | FileCheck %s2# RUN: not --crash llc --passes='machine-function(verify)' -o - %s 2>&1 | FileCheck %s3 4# CHECK: Bad machine code: Missing DebugLoc for debug instruction5# CHECK: - instruction: DBG_VALUE 1, 2, 3, 46 7--- |8 9  define i32 @foo() {10  entry:11    ret i32 012  }13 14...15---16name:            foo17body: |18  bb.0.entry:19    DBG_VALUE 1, 2, 3, 420...21