[LLVMdev] Help with code

Misha Brukman brukman at uiuc.edu
Tue Dec 21 14:59:16 PST 2004

On Tue, Dec 21, 2004 at 03:53:47PM -0700, Sriraman Tallam wrote:
> Constant *strcon==ConstantArray::get("Value : %d\n");

OK, then what's the assertion?

You can also see the resulting module by using -disable-verify:

$ opt -yourpass -disable-verify < file.bc | llvm-dis

You may see what the problem is by looking at the LLVM assembly.

Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu

More information about the llvm-dev mailing list