summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CppBackend
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-06-11 19:41:26 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-06-11 19:41:26 +0000
commit3e5de88dacfec7ce74b7230be8e392b53d83b050 (patch)
treed869b3627be991308573cad1e78fccceb9549d56 /llvm/lib/Target/CppBackend
parentc88bf54366f19d849b0b23f1ec6037e10fbc0d05 (diff)
downloadbcm5719-llvm-3e5de88dacfec7ce74b7230be8e392b53d83b050.tar.gz
bcm5719-llvm-3e5de88dacfec7ce74b7230be8e392b53d83b050.zip
Replace string GNU Triples with llvm::Triple in TargetMachine. NFC.
Summary: For the moment, TargetMachine::getTargetTriple() still returns a StringRef. This continues the patch series to eliminate StringRef forms of GNU triples from the internals of LLVM that began in r239036. Reviewers: rengolin Reviewed By: rengolin Subscribers: ted, llvm-commits, rengolin, jholewinski Differential Revision: http://reviews.llvm.org/D10362 llvm-svn: 239554
Diffstat (limited to 'llvm/lib/Target/CppBackend')
-rw-r--r--llvm/lib/Target/CppBackend/CPPTargetMachine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/CppBackend/CPPTargetMachine.h b/llvm/lib/Target/CppBackend/CPPTargetMachine.h
index 02d705e2d8f..f7d0e18a0c4 100644
--- a/llvm/lib/Target/CppBackend/CPPTargetMachine.h
+++ b/llvm/lib/Target/CppBackend/CPPTargetMachine.h
@@ -23,8 +23,8 @@ namespace llvm {
class formatted_raw_ostream;
struct CPPTargetMachine : public TargetMachine {
- CPPTargetMachine(const Target &T, StringRef TT, StringRef CPU, StringRef FS,
- const TargetOptions &Options, Reloc::Model RM,
+ CPPTargetMachine(const Target &T, const Triple &TT, StringRef CPU,
+ StringRef FS, const TargetOptions &Options, Reloc::Model RM,
CodeModel::Model CM, CodeGenOpt::Level OL)
: TargetMachine(T, "", TT, CPU, FS, Options) {}
OpenPOWER on IntegriCloud