search for: getstubtofunctionmap

Displaying 3 results from an estimated 3 matches for "getstubtofunctionmap".

2005 Apr 21
0
[LLVMdev] Control Flow and Locks when JITing Functions
On Thu, 21 Apr 2005, Evan Jones wrote: > I just located a concurrency error in my LLVM patch to add locks to the > JIT. I did not add any locks to the JITResolver class in JITEmitter.cpp, > which clearly is a problem since This particular issue causes an > assertion failure on occasion when running a task that spawns threads on > a parallel machine. Any recommendations about if I am
2005 Apr 21
1
[LLVMdev] Control Flow and Locks when JITing Functions
...Resolve::JITCompilerFn. One of them gets the lock and compiles the function. Then, when it releases the lock, another thread tries to continue and immediately gets this exception: lli: JITEmitter.cpp:236: static void* <unnamed>::JITResolver::JITCompilerFn(void*): Assertion `I != JR.state.getStubToFunctionMap(locked).begin() && "This is not a known stub!"' failed. The problem is that after a function is compiled, the information about the Stub -> Function mapping is erased because it is no longer needed. The stub has been rewritten to point to the native function. However,...
2005 Apr 21
2
[LLVMdev] Control Flow and Locks when JITing Functions
I just located a concurrency error in my LLVM patch to add locks to the JIT. I did not add any locks to the JITResolver class in JITEmitter.cpp, which clearly is a problem since This particular issue causes an assertion failure on occasion when running a task that spawns threads on a parallel machine. Any recommendations about if I am doing something that seems horribly wrong are welcome. I'll