Fix formatting of the TLS commit

This commit is contained in:
Raphael Isemann 2017-11-06 16:21:18 +01:00 committed by sftnight
parent 89c6351e3a
commit 62eac4d1d2

View File

@ -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;
} }