search for: module_opt_level

Displaying 2 results from an estimated 2 matches for "module_opt_level".

2013 Sep 22
2
[LLVMdev] Bad permissions for mapped region
...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", error); LLVMDisposeMessage(error); abort(); } LLVMRunStaticConstructors(q...
2013 Sep 22
0
[LLVMdev] Bad permissions for mapped region
...: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", error); > LLVMDisposeMessage(error); > ab...