Fix formatting of the TLS commit
This commit is contained in:
parent
89c6351e3a
commit
62eac4d1d2
@ -72,11 +72,9 @@ CreateHostTargetMachine(const clang::CompilerInstance& CI) {
|
|||||||
std::string MCPU;
|
std::string MCPU;
|
||||||
std::string FeaturesStr;
|
std::string FeaturesStr;
|
||||||
|
|
||||||
auto TM = std::unique_ptr<TargetMachine>(TheTarget->createTargetMachine(Triple,
|
auto TM = std::unique_ptr<TargetMachine>(TheTarget->createTargetMachine(
|
||||||
MCPU, FeaturesStr,
|
Triple, MCPU, FeaturesStr, llvm::TargetOptions(),
|
||||||
llvm::TargetOptions(),
|
Optional<Reloc::Model>(), CMModel, OptLevel));
|
||||||
Optional<Reloc::Model>(), CMModel,
|
|
||||||
OptLevel));
|
|
||||||
TM->Options.EmulatedTLS = true;
|
TM->Options.EmulatedTLS = true;
|
||||||
return TM;
|
return TM;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user