summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/MemoryBuffer.cpp
diff options
context:
space:
mode:
authorWeiming Zhao <wmzhao.code@gmail.com>2018-04-15 05:17:14 +0000
committerWeiming Zhao <wmzhao.code@gmail.com>2018-04-15 05:17:14 +0000
commit7c16977a8f8dd927ae246be386bea9b17bbcc15d (patch)
tree7728c2ed676ccecc34f17563a9c598deb62399e9 /llvm/lib/Support/MemoryBuffer.cpp
parent84e99265d6a7589fee870f8f0a85ad50351e6cdc (diff)
downloadbcm5719-llvm-7c16977a8f8dd927ae246be386bea9b17bbcc15d.tar.gz
bcm5719-llvm-7c16977a8f8dd927ae246be386bea9b17bbcc15d.zip
NFC: Move ObjectMemoryBuffer to support
Summary: Since the class is used by both MCJIT and LTO, it makes more sense to move it to Support lib. This is a follow up patch to r329929 and https://reviews.llvm.org/D45244 Reviewers: bkramer, dblaikie Reviewed By: bkramer Subscribers: mehdi_amini, eraman, llvm-commits Differential Revision: https://reviews.llvm.org/D45606 llvm-svn: 330093
Diffstat (limited to 'llvm/lib/Support/MemoryBuffer.cpp')
-rw-r--r--llvm/lib/Support/MemoryBuffer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/MemoryBuffer.cpp b/llvm/lib/Support/MemoryBuffer.cpp
index 86dd559d5b3..9530de66466 100644
--- a/llvm/lib/Support/MemoryBuffer.cpp
+++ b/llvm/lib/Support/MemoryBuffer.cpp
@@ -18,6 +18,7 @@
#include "llvm/Support/Errno.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MathExtras.h"
+#include "llvm/Support/ObjectMemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/Program.h"
@@ -533,3 +534,4 @@ MemoryBufferRef MemoryBuffer::getMemBufferRef() const {
}
void MemoryBuffer::anchor() {}
+void ObjectMemoryBuffer::anchor() {}
OpenPOWER on IntegriCloud