[LLVMdev] Invalid bitcode signature

Fraser Cormack frasercrmck at gmail.com
Sat Feb 4 03:09:24 PST 2012



Bill Wendling-3 wrote:
> 
> The error is coming from the bit-code reader. Make sure that you generated
> the file with '-emit-llvm' (i.e., it's not an object file) and that it's
> the binary version of the bit-code file, not the text version.
> 
> And, llvm-gcc? really? :-)
> 
> 

Is there no way that the API can generate valid bitcode?

And no, not really llvm-gcc, I'm not sure why I said that, haha :)
-- 
View this message in context: http://old.nabble.com/Invalid-bitcode-signature-tp33259763p33262186.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.




More information about the llvm-dev mailing list