summaryrefslogtreecommitdiffstats
path: root/lld/ELF/LTO.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/LTO.h')
-rw-r--r--lld/ELF/LTO.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/ELF/LTO.h b/lld/ELF/LTO.h
index 266c70cc26d..bc4d5b053b3 100644
--- a/lld/ELF/LTO.h
+++ b/lld/ELF/LTO.h
@@ -39,6 +39,8 @@ public:
template <class ELFT> std::unique_ptr<ObjectFile<ELFT>> compile();
private:
+ llvm::TargetMachine *getTargetMachine();
+
llvm::LLVMContext Context;
llvm::Module Combined{"ld-temp.o", Context};
llvm::IRMover Mover{Combined};
OpenPOWER on IntegriCloud