Displaying 2 results from an estimated 2 matches for "llvminitializemcjitcompileropt".
2013 Sep 22
2
[LLVMdev] Bad permissions for mapped region
...y (ql.c:2286)
==27130== by 0x4E4836A: tusto_ql_compile (ql.c:2322)
==27130== by 0x402D19: process_query (ts_util.c:167)
==27130== by 0x403205: run_shell (ts_util.c:296)
I have source tree checked out at f46e5eadc307beaef6e8dd0602bb4c63ca41fd50.
To create MCJIT i use provided llvm-c apis:
LLVMInitializeMCJITCompilerOptions(&options, sizeof(options));
options.OptLevel = MODULE_OPT_LEVEL; /* 3 of 0 */
options.CodeModel = LLVMCodeModelJITDefault;
if (LLVMCreateMCJITCompilerForModule(&qry->llvm.engine, qry->llvm.mod,
&options, sizeof(options), &error) != 0) {
fprintf(stderr, "%s\n", e...
2013 Sep 22
0
[LLVMdev] Bad permissions for mapped region
...E4836A: tusto_ql_compile (ql.c:2322)
> ==27130== by 0x402D19: process_query (ts_util.c:167)
> ==27130== by 0x403205: run_shell (ts_util.c:296)
>
> I have source tree checked out at f46e5eadc307beaef6e8dd0602bb4c63ca41fd50.
> To create MCJIT i use provided llvm-c apis:
>
> LLVMInitializeMCJITCompilerOptions(&options, sizeof(options));
> options.OptLevel = MODULE_OPT_LEVEL; /* 3 of 0 */
> options.CodeModel = LLVMCodeModelJITDefault;
>
> if (LLVMCreateMCJITCompilerForModule(&qry->llvm.engine, qry->llvm.mod,
> &options, sizeof(options), &error) != 0) {
> fpr...