diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Target/ARC/ARCTargetMachine.cpp')
-rw-r--r-- | contrib/llvm-project/llvm/lib/Target/ARC/ARCTargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/lib/Target/ARC/ARCTargetMachine.cpp b/contrib/llvm-project/llvm/lib/Target/ARC/ARCTargetMachine.cpp index ab74fecb7804..4a5b6fd4d5bf 100644 --- a/contrib/llvm-project/llvm/lib/Target/ARC/ARCTargetMachine.cpp +++ b/contrib/llvm-project/llvm/lib/Target/ARC/ARCTargetMachine.cpp @@ -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(); } |