git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223781
91177308-0d34-0410-b5e6-
96231b3b80d8
Module &getModule() {
return *M;
}
- std::unique_ptr<Module> takeModule() { return std::move(M); }
+ std::unique_ptr<Module> takeModule();
static inline bool classof(const Binary *v) {
return v->isIR();
GlobalValue *IRObjectFile::getSymbolGV(DataRefImpl Symb) { return getGV(Symb); }
+std::unique_ptr<Module> IRObjectFile::takeModule() { return std::move(M); }
+
basic_symbol_iterator IRObjectFile::symbol_begin_impl() const {
Module::const_iterator I = M->begin();
DataRefImpl Ret;