summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/IRObjectFile.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-12-09 16:18:11 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-12-09 16:18:11 +0000
commit25a7e0a89f8ba1f21a023580e0514dc018ef025c (patch)
tree93d6e713ad73e0152e4a269939c7bc866d098612 /llvm/lib/Object/IRObjectFile.cpp
parent527e846ef7d15ee17459ab7b9e7454504f9b1b96 (diff)
downloadbcm5719-llvm-25a7e0a89f8ba1f21a023580e0514dc018ef025c.tar.gz
bcm5719-llvm-25a7e0a89f8ba1f21a023580e0514dc018ef025c.zip
Move method out of line to make buildbot happy.
llvm-svn: 223781
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
-rw-r--r--llvm/lib/Object/IRObjectFile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Object/IRObjectFile.cpp b/llvm/lib/Object/IRObjectFile.cpp
index 84b6c95f2c7..185b783e350 100644
--- a/llvm/lib/Object/IRObjectFile.cpp
+++ b/llvm/lib/Object/IRObjectFile.cpp
@@ -237,6 +237,8 @@ uint32_t IRObjectFile::getSymbolFlags(DataRefImpl Symb) const {
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;
OpenPOWER on IntegriCloud