projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac30ea2
)
[ARC] Fix ARCTargetMachine after 777180a32b6107
author
Fangrui Song
<maskray@google.com>
Wed, 29 Jan 2020 08:59:16 +0000
(
00:59
-0800)
committer
Fangrui Song
<maskray@google.com>
Wed, 29 Jan 2020 08:59:16 +0000
(
00:59
-0800)
llvm/lib/Target/ARC/ARCTargetMachine.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/ARC/ARCTargetMachine.cpp
b/llvm/lib/Target/ARC/ARCTargetMachine.cpp
index
ab74fec
..
4a5b6fd
100644
(file)
--- a/
llvm/lib/Target/ARC/ARCTargetMachine.cpp
+++ b/
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();
}