diff options
author | Weiming Zhao <wmzhao.code@gmail.com> | 2018-04-11 23:09:20 +0000 |
---|---|---|
committer | Weiming Zhao <wmzhao.code@gmail.com> | 2018-04-11 23:09:20 +0000 |
commit | 66258c988815c0a7469627cfd41a7aa8398558b9 (patch) | |
tree | fa8b8e8c09fb5136c56453c061a405502f84965b /lib/Support/raw_ostream.cpp | |
parent | 125b8deb816d911fd95b5a4ff19c6e58b5358e1c (diff) |
Add missing vtable anchors
Summary: This patch adds anchor() for MemoryBuffer, raw_fd_ostream, RTDyldMemoryManager, SectionMemoryManager, etc.
Reviewers: jlebar, eli.friedman, dblaikie
Reviewed By: dblaikie
Subscribers: mehdi_amini, mgorny, dblaikie, weimingz, llvm-commits
Differential Revision: https://reviews.llvm.org/D45244
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329861 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/raw_ostream.cpp')
-rw-r--r-- | lib/Support/raw_ostream.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp index 5ecb18fc72f..c0e210bcd5e 100644 --- a/lib/Support/raw_ostream.cpp +++ b/lib/Support/raw_ostream.cpp @@ -474,6 +474,8 @@ raw_ostream &raw_ostream::indent(unsigned NumSpaces) { return *this; } +void raw_ostream::anchor() {} + //===----------------------------------------------------------------------===// // Formatted Output //===----------------------------------------------------------------------===// @@ -727,6 +729,8 @@ bool raw_fd_ostream::has_colors() const { return sys::Process::FileDescriptorHasColors(FD); } +void raw_fd_ostream::anchor() {} + //===----------------------------------------------------------------------===// // outs(), errs(), nulls() //===----------------------------------------------------------------------===// @@ -804,3 +808,5 @@ uint64_t raw_null_ostream::current_pos() const { void raw_null_ostream::pwrite_impl(const char *Ptr, size_t Size, uint64_t Offset) {} + +void raw_pwrite_stream::anchor() {} |