[ARC] Fix ARCTargetMachine after 777180a32b

This commit is contained in:
Fangrui Song 2020-01-29 00:59:16 -08:00
parent ac30ea2f87
commit 800a0f81e9
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ ARCTargetMachine::ARCTargetMachine(const Target &T, const Triple &TT,
TT, CPU, FS, Options, getRelocModel(RM),
getEffectiveCodeModel(CM, CodeModel::Small), OL),
TLOF(std::make_unique<TargetLoweringObjectFileELF>()),
Subtarget(TT, CPU, FS, *this) {
Subtarget(TT, std::string(CPU), std::string(FS), *this) {
initAsmInfo();
}