14855534dSVedant Kumar# RUN: not --crash llc -run-pass machineverifier -o - %s 2>&1 | FileCheck %s 2*c09ed6a2Spaperchalice# RUN: not --crash llc --passes='machine-function(verify)' -o - %s 2>&1 | FileCheck %s 34855534dSVedant Kumar 44855534dSVedant Kumar# CHECK: Bad machine code: Missing DebugLoc for debug instruction 54855534dSVedant Kumar# CHECK: - instruction: DBG_VALUE 1, 2, 3, 4 64855534dSVedant Kumar 74855534dSVedant Kumar--- | 84855534dSVedant Kumar 94855534dSVedant Kumar define i32 @foo() { 104855534dSVedant Kumar entry: 114855534dSVedant Kumar ret i32 0 124855534dSVedant Kumar } 134855534dSVedant Kumar 144855534dSVedant Kumar... 154855534dSVedant Kumar--- 164855534dSVedant Kumarname: foo 174855534dSVedant Kumarbody: | 184855534dSVedant Kumar bb.0.entry: 194855534dSVedant Kumar DBG_VALUE 1, 2, 3, 4 204855534dSVedant Kumar... 21