[LLVMdev] misc questions on opt and bitcode

Duncan Sands baldrick at free.fr
Fri Mar 23 08:12:39 PDT 2012


> And when I run llc with this IR I get nothing printed on screen. Not sure if my
> LLVM revision is corrupted and needs a fresh install. When I ran with the
> bitcode and lli here's what I get:
> 42-105-250-151:pastebin Babai$ llvm-gcc example.c -c -emit-llvm -o example.bc
> 42-105-250-151:pastebin Babai$ lli example.bc
> lli: example.bc: Invalid ALLOCA record

Mismatch between the LLVM versions of llvm-gcc and lli?

Ciao, Duncan.



More information about the llvm-dev mailing list