[LLVMdev] UNREACHABLE executed ! error

pracheeyogi at cse.iitb.ac.in pracheeyogi at cse.iitb.ac.in
Fri May 6 22:13:04 PDT 2011


But we are not getting this error for llvm-2.6 version.
In llvm-2.6
../install/bin/lli test.bc
didn't give any error.


> 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
>
>


Regards
Prachee Yogi




More information about the llvm-dev mailing list