search for: gvargs

Displaying 5 results from an estimated 5 matches for "gvargs".

Did you mean: vargs
2010 Oct 25
0
[LLVMdev] Ocaml bindings for execution engines
...nengine/executionengine_ocaml.c. /* llvalue -> GenericValue.t array -> ExecutionEngine.t -> GenericValue.t */ CAMLprim value llvm_ee_run_function(LLVMValueRef F, value Args, LLVMExecutionEngineRef EE) { unsigned NumArgs; LLVMGenericValueRef Result, *GVArgs; unsigned I; NumArgs = Wosize_val(Args); GVArgs = (LLVMGenericValueRef*) malloc(NumArgs * sizeof(LLVMGenericValueRef)); for (I = 0; I != NumArgs; ++I) GVArgs[I] = Genericvalue_val(Field(Args, I)); Result = LLVMRunFunction(EE, F, NumArgs, GVArgs); free(GVArgs); return alloc_gene...
2014 Sep 17
2
[LLVMdev] [cfe-dev] exc_bad_instruction on arm
...does not support JIT code generation* > > Ok, let's try using MCJIT as i was suggested. > Now change default value for "UseMCJIT" to true. > > Then i have *EXC_BAD_ACCESS (code=260, address=0xd10083ff)* in > ExecutionEngine.cpp file: > > return runFunction(Fn, GVArgs).IntVal.getZExtValue(); > > Tim? Anyone? I can provide source code and build scripts to reproduce the > case. > > Regards, Anton. > > 2014-09-17 19:02 GMT+06:00 Anton Smirnov <dev at antonsmirnov.name>: > >> Both Clang/LLVM 3.4 -> Clang/LLVM 3.5 >> And i...
2014 Sep 17
2
[LLVMdev] [cfe-dev] exc_bad_instruction on arm
Both Clang/LLVM 3.4 -> Clang/LLVM 3.5 And i will also try using MCJIT. 2014-09-17 18:56 GMT+06:00 Anton Smirnov <dev at antonsmirnov.name>: > Hi, Tim. > > I've used Clang 3.4 final release and now i'm going to test it with 3.5 > release (since i've read about arm64 improvements). > I will report my results. > > BTW, is it possible to get smth like
2014 Sep 18
2
[LLVMdev] [cfe-dev] exc_bad_instruction on arm
...Ok, let's try using MCJIT as i was suggested. >>> Now change default value for "UseMCJIT" to true. >>> >>> Then i have *EXC_BAD_ACCESS (code=260, address=0xd10083ff)* in >>> ExecutionEngine.cpp file: >>> >>> return runFunction(Fn, GVArgs).IntVal.getZExtValue(); >>> >>> Tim? Anyone? I can provide source code and build scripts to reproduce >>> the case. >>> >>> Regards, Anton. >>> >>> 2014-09-17 19:02 GMT+06:00 Anton Smirnov <dev at antonsmirnov.name>: >>>...
2014 Sep 18
2
[LLVMdev] [cfe-dev] exc_bad_instruction on arm
...d. >>>>> Now change default value for "UseMCJIT" to true. >>>>> >>>>> Then i have *EXC_BAD_ACCESS (code=260, address=0xd10083ff)* in >>>>> ExecutionEngine.cpp file: >>>>> >>>>> return runFunction(Fn, GVArgs).IntVal.getZExtValue(); >>>>> >>>>> Tim? Anyone? I can provide source code and build scripts to reproduce >>>>> the case. >>>>> >>>>> Regards, Anton. >>>>> >>>>> 2014-09-17 19:02 GMT+06:00 Anton...