Update llvm and integrate clang and compiler-rt.

This commit is contained in:
Graydon Hoare 2012-04-30 15:40:04 -07:00
parent 5b98000279
commit 079c3b02a8
3 changed files with 23 additions and 30 deletions

View file

@ -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_,