[LLVMdev] llc: assertion fails in bitreader.cpp

Matthias Heine m1.heine at gmx.de
Tue Feb 19 05:49:29 PST 2008


Hi all,

I've used the llvmgcc to compile a quite simple bit of c-code:

>short addtest(short a, short b)
>{
> return a+b;
>}

When I'm feeding llc (llvm-2.1-version) with the resulting bytecode, it fails with this error:

llc: BitcodeReader.cpp:1040: bool llvm::BitcodeReader::ParseModule(const std::string&): Assertion `Func->getFunctionType()->getParamAttrs() == getParamAttrs(Record[4])' failed.

Has anyone ever experienced something similar?

Thanks in advance!

Matthias
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail



More information about the llvm-dev mailing list