Displaying 1 result from an estimated 1 matches for "curmod".
Did you mean:
currmod
2005 Feb 20
0
[LLVMdev] Attempt #1: JIT Thread Safety
...structure
FunctionPassManager PM; // Could call passes which are not thread safe
Both of these classes have additional members which I have not
protected. It looked to my brief analysis that they were used in a
read-only fashion. Can anyone tell me if I am wrong:
ExecutionEngine:
Module &CurMod;
const TargetData *TD;
JIT:
TargetMachine &TM;
TargetJITInfo &TJI;
MachineCodeEmitter *MCE;
I specifically did not protect the ExecutionEngine::CurMod member
because a reference is returned via ExecutionEngine::getModule(). If
access to it must be serialized, it must be done very caref...