[LLVMdev] UNREACHABLE executed ! error
John Criswell
criswell at illinois.edu
Fri May 6 13:36:05 PDT 2011
On 5/6/11 3:31 PM, pracheeyogi at cse.iitb.ac.in wrote:
> Hi,
>
> On LLVM 2.8, on executing following command
> ../install/bin/lli test.bc
>
> It gives following error
>
> "UNREACHABLE executed!
> 0 lli 0x08699718
> Stack dump:
> 0. Program arguments: ../install/bin/lli test.bc
> 1. Running pass 'X86 Machine Code Emitter' on function '@main'
> Aborted"
>
> But,
> ../install/bin/llc test.bc :- does not give any error.
>
> Also, This problem does not occur for LLVM 2.6.
lli is a JIT that runs the program. llc only generates native assembly
code for the bitcode file. So, in the first case, your program is
running and hitting an unreachable statement, and in the second case,
your program is not running at all.
-- John T.
>
>
> Regards
> Prachee Yogi
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list