diff options
author | Matthias Braun <matze@braunis.de> | 2017-10-12 22:57:28 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2017-10-12 22:57:28 +0000 |
commit | bb8507e63c42212c3753c0df069ec16a52652247 (patch) | |
tree | 8579aed34d69ff21da87b58f3376ad5f5282966f /llvm/unittests/CodeGen | |
parent | a2f9e3a60fb97bf82a1029207ee81221fe13b3d5 (diff) | |
download | bcm5719-llvm-bb8507e63c42212c3753c0df069ec16a52652247.tar.gz bcm5719-llvm-bb8507e63c42212c3753c0df069ec16a52652247.zip |
Revert "TargetMachine: Merge TargetMachine and LLVMTargetMachine"
Reverting to investigate layering effects of MCJIT not linking
libCodeGen but using TargetMachine::getNameWithPrefix() breaking the
lldb bots.
This reverts commit r315633.
llvm-svn: 315637
Diffstat (limited to 'llvm/unittests/CodeGen')
-rw-r--r-- | llvm/unittests/CodeGen/MachineInstrTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/unittests/CodeGen/MachineInstrTest.cpp b/llvm/unittests/CodeGen/MachineInstrTest.cpp index bd61bf056ec..89041e2ab22 100644 --- a/llvm/unittests/CodeGen/MachineInstrTest.cpp +++ b/llvm/unittests/CodeGen/MachineInstrTest.cpp @@ -62,11 +62,11 @@ private: TargetInstrInfo TII; }; -class BogusTargetMachine : public TargetMachine { +class BogusTargetMachine : public LLVMTargetMachine { public: BogusTargetMachine() - : TargetMachine(Target(), "", Triple(""), "", "", TargetOptions(), - Reloc::Static, CodeModel::Small, CodeGenOpt::Default), + : LLVMTargetMachine(Target(), "", Triple(""), "", "", TargetOptions(), + Reloc::Static, CodeModel::Small, CodeGenOpt::Default), ST(*this) {} ~BogusTargetMachine() override {} |