Displaying 7 results from an estimated 7 matches for "llvmgetpointertoglob".
Did you mean:
llvmgetpointertoglobal
2013 Sep 22
2
[LLVMdev] Bad permissions for mapped region
...ntimeDyld.cpp:462)
==27130== by 0xEAE543C: llvm::RuntimeDyldImpl::resolveRelocations()
(RuntimeDyld.cpp:51)
==27130== by 0xEAE8236: llvm::RuntimeDyld::resolveRelocations()
(RuntimeDyld.cpp:561)
==27130== by 0xA25EA99: llvm::MCJIT::finalizeObject() (MCJIT.cpp:173)
==27130== by 0xAB57918: LLVMGetPointerToGlobal
(ExecutionEngineBindings.cpp:332)
==27130== by 0x4E4813D: compile_query (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 f46e5eadc30...
2013 Sep 22
0
[LLVMdev] Bad permissions for mapped region
...0== by 0xEAE543C: llvm::RuntimeDyldImpl::resolveRelocations()
> (RuntimeDyld.cpp:51)
> ==27130== by 0xEAE8236: llvm::RuntimeDyld::resolveRelocations()
> (RuntimeDyld.cpp:561)
> ==27130== by 0xA25EA99: llvm::MCJIT::finalizeObject() (MCJIT.cpp:173)
> ==27130== by 0xAB57918: LLVMGetPointerToGlobal
> (ExecutionEngineBindings.cpp:332)
> ==27130== by 0x4E4813D: compile_query (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 sour...
2014 Apr 04
2
[LLVMdev] Weird problems on calling an external function from MCJIT on Windows(mingw)
...LLVMParseIRInContext(LLVMGetGlobalContext(),ll_f,&m,&err); // ll_f doesnt
need freeing
prt(err);
LLVMDumpModule(m);
LLVMLinkInMCJIT();
LLVMExecutionEngineRef ee = 0;
LLVMCreateMCJITCompilerForModule(&ee,m,0,0,&err);
prt(err);
using tf_t = int ();
tf_t *f =
(tf_t*)LLVMGetPointerToGlobal(ee,LLVMGetNamedFunction(m,"test_func"));
At first i got "LLVM ERROR: Incompatible object format! "
But by reading some articles I append LLVMSetTarget(m,"i686-pc-mingw32");
and it's fixed.
Then I got "LLVM ERROR: Program used external function 'a_outsid...
2014 Apr 04
2
[LLVMdev] Weird problems on calling an external function from MCJIT on Windows(mingw)
...gt; > prt(err);
> > LLVMDumpModule(m);
> >
> > LLVMLinkInMCJIT();
> > LLVMExecutionEngineRef ee = 0;
> > LLVMCreateMCJITCompilerForModule(&ee,m,0,0,&err);
> > prt(err);
> > using tf_t = int ();
> > tf_t *f =
> > (tf_t*)LLVMGetPointerToGlobal(ee,LLVMGetNamedFunction(m,"test_func"));
> >
> > At first i got "LLVM ERROR: Incompatible object format! "
> > But by reading some articles I append LLVMSetTarget(m,"i686-pc-mingw32");
> > and it's fixed.
> > Then I got "LLVM ER...
2014 Apr 04
2
[LLVMdev] Weird problems on calling an external function from MCJIT on Windows(mingw)
...gt; >> > LLVMLinkInMCJIT();
> >> > LLVMExecutionEngineRef ee = 0;
> >> > LLVMCreateMCJITCompilerForModule(&ee,m,0,0,&err);
> >> > prt(err);
> >> > using tf_t = int ();
> >> > tf_t *f =
> >> > (tf_t*)LLVMGetPointerToGlobal(ee,LLVMGetNamedFunction(m,"test_func"));
> >> >
> >> > At first i got "LLVM ERROR: Incompatible object format! "
> >> > But by reading some articles I append
> >> > LLVMSetTarget(m,"i686-pc-mingw32");
> >> >...
2016 Aug 10
2
crash JIT with AVX intrinsics
Hi all,
I have some old code using the JIT via the LLVM-3.0-C API. I want to
upgrade to newer versions of LLVM. As a simple example I wrote a C program
that creates the following function and calls it:
; ModuleID = 'round-avx.bc'
target triple = "x86_64-pc-linux-gnu"
define void @round(<8 x float>*) {
_L1:
%1 = load <8 x float>* %0
%2 = call <8 x
2015 Oct 17
3
The future of LLVM's C APIs: Notes and BoF.
(Moving this to llvm-dev)
On Friday, October 16, 2015, Justin Bogner <mail at justinbogner.com> wrote:
> Some users of llvm-c want stable API interfaces into various parts of
> the LLVM infrasture, others want further ABI guarantees about this
> usage, and still others simply want a way to bind to LLVM through their
> language frontend’s existing FFI support for C.
>
> If