[LLVMdev] ExtractBasicBlock() on block that ends with invoke or unreachable triggers assert() in llc

Gregory Petrosyan gregory.petrosyan at gmail.com
Sat Jun 5 08:25:13 PDT 2010

Here it is:

llc: SelectionDAGISel.cpp:358: virtual bool
Assertion `FuncInfo->CatchInfoFound.size() ==
FuncInfo->CatchInfoLost.size() && "Not all catch info was assigned to
a landing pad!"' failed.
0  libLLVM-2.7.so 0x0140e2c8
Stack dump:
0.	Program arguments: llc -O0 bullet.linked.bc.opt
1.	Running pass 'X86 DAG->DAG Instruction Selection' on function

LLVM 2.7, trying to extract some basic blocks from bullet.linked.bc
file from LLVM test suite.

If anybody can help with this, it will be very appreciated.


More information about the llvm-dev mailing list