[ExecutionEngine] After a heroic dev-meeting hack session, the JIT supports TLS.
Turns on EmulatedTLS support by default in EngineBuilder. ;) llvm-svn: 316200
This commit is contained in:
@@ -95,7 +95,8 @@ TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple,
|
||||
TargetMachine *Target =
|
||||
TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr,
|
||||
Options, RelocModel, CMModel, OptLevel,
|
||||
/*JIT*/ true);
|
||||
/*JIT*/ true);
|
||||
Target->Options.EmulatedTLS = EmulatedTLS;
|
||||
assert(Target && "Could not allocate target machine!");
|
||||
return Target;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user