Update llvm and integrate clang and compiler-rt.
This commit is contained in:
parent
5b98000279
commit
079c3b02a8
3 changed files with 23 additions and 30 deletions
|
@ -97,7 +97,7 @@ LLVMRustWriteOutputFile(LLVMPassManagerRef PMR,
|
|||
const Target *TheTarget = TargetRegistry::lookupTarget(triple, Err);
|
||||
std::string FeaturesStr;
|
||||
std::string Trip(triple);
|
||||
std::string CPUStr = llvm::sys::getHostCPUName();
|
||||
std::string CPUStr("generic");
|
||||
TargetMachine *Target =
|
||||
TheTarget->createTargetMachine(Trip, CPUStr, FeaturesStr,
|
||||
Options, Reloc::PIC_,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue