On Mar 22, 2011, at 11:54 PM, mohitbansal111 at gmail.com wrote:
> hii,
>
> On running hello world program :
> Its working fine with "llvm-gcc hello.c -o hello" and then
"./hello" command..
> but with "llvm-gcc -O3 -emit-llvm hello.c -c -o hello.bc" and
then "lli hello.bc" its give error :
>
>
> lli: BitcodeReader.cpp:863: bool llvm::BitcodeReader::ParseMetadata():
Assertion `Kind == NewKind && "FIXME: Unable to handle custom
metadata mismatch!"' failed.
> 0 lli 0x08721a28
> Stack dump:
> 0. Program arguments: lli hello.bc
> Aborted
>
>
> now what i had to do
lli probably doesn't deal well with some of the new metadata. There's
not a lot you can do about it unless you want to hack on llvm (though a bug
report would be nice). That said, do you need the interpreter?
-eric