Displaying 5 results from an estimated 5 matches for "llvm_interpret".
2014 Sep 17
2
[LLVMdev] [cfe-dev] exc_bad_instruction on arm
...nton,
I've added the llvmdev list, since the issues you're seeing are coming
from the backend, which is more their side.
On 17 September 2014 08:43, Anton Smirnov <dev at antonsmirnov.name> wrote:
> i've changed lli arguments to the next (instead of default):
>
> return llvm_interpret(
> InputFile,
> std::vector<std::string>(),
> false, // ForceInterpreter
> false, // UseMCJIT
> [...]
> Now i'm having:
>
> Unhandled instruction encoding format!
> UNREACHABLE executed at
> /Users/asmirnov/Documents/dev/src/llvm_34_ios/lib/Ta...
2014 Sep 17
2
[LLVMdev] [cfe-dev] exc_bad_instruction on arm
...ues you're seeing are coming
>> from the backend, which is more their side.
>>
>> On 17 September 2014 08:43, Anton Smirnov <dev at antonsmirnov.name> wrote:
>> > i've changed lli arguments to the next (instead of default):
>> >
>> > return llvm_interpret(
>> > InputFile,
>> > std::vector<std::string>(),
>> > false, // ForceInterpreter
>> > false, // UseMCJIT
>> > [...]
>> > Now i'm having:
>> >
>> > Unhandled instruction encoding format!
>> >...
2014 Sep 17
2
[LLVMdev] [cfe-dev] exc_bad_instruction on arm
...er version. Also note i'm not using
> "target-cpu" argument now as "cortex-a8" is not supported for this triple).
>
> Next i'm trying to interpret it (source code is copy-pasted from lli tool
> source code):
>
> // lli with my default arguments
> int llvm_interpret(const char *ll_filename) {
> std::string InputFile(ll_filename);
>
> return llvm_interpret(
> InputFile,
> std::vector<std::string>(), // argv
> false, // ForceInterpreter
> false, // UseMCJIT
> false, // DebugIR
> false, // RemoteMCJIT
&...
2014 Sep 18
2
[LLVMdev] [cfe-dev] exc_bad_instruction on arm
...ot;target-cpu" argument now as "cortex-a8" is not supported for this triple).
>>>
>>> Next i'm trying to interpret it (source code is copy-pasted from lli
>>> tool source code):
>>>
>>> // lli with my default arguments
>>> int llvm_interpret(const char *ll_filename) {
>>> std::string InputFile(ll_filename);
>>>
>>> return llvm_interpret(
>>> InputFile,
>>> std::vector<std::string>(), // argv
>>> false, // ForceInterpreter
>>> false, // UseMCJIT
>...
2014 Sep 18
2
[LLVMdev] [cfe-dev] exc_bad_instruction on arm
...-a8" is not supported for this triple).
>>>>>
>>>>> Next i'm trying to interpret it (source code is copy-pasted from lli
>>>>> tool source code):
>>>>>
>>>>> // lli with my default arguments
>>>>> int llvm_interpret(const char *ll_filename) {
>>>>> std::string InputFile(ll_filename);
>>>>>
>>>>> return llvm_interpret(
>>>>> InputFile,
>>>>> std::vector<std::string>(), // argv
>>>>> false, // ForceInt...