[llvm-dev] Finding what IR component llc assert-fails on

Rodney M. Bates via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 29 13:24:03 PDT 2017


llc is giving me this assertion failure:

rodney at allegheny:~/proj/m3/git/cm3/m3-sys/m3tests/src/p0/p001/AMD64_LINUX$ llc -disable-fp-elim -filetype=asm  -relocation-model=pic Main.mb.asm -o Main_m.s
llc: /home/rodney/proj/llvm/llvm-3.6.1/llvm-3.6.1.src/include/llvm/CodeGen/MachineInstr.h:252: llvm::DIVariable llvm::MachineInstr::getDebugVariable() const: Assertion `Var.Verify() && "not a DIVariable"' failed.

How can I find out the place in the input file Main.mb.asm that is provoking this?

-- 
Rodney Bates
rodney.m.bates at acm.org


More information about the llvm-dev mailing list