summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/CodeView/ByteStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/ByteStream.cpp')
-rw-r--r--llvm/lib/DebugInfo/CodeView/ByteStream.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/ByteStream.cpp b/llvm/lib/DebugInfo/CodeView/ByteStream.cpp
index 83b2f8ec307..2c43bc6958d 100644
--- a/llvm/lib/DebugInfo/CodeView/ByteStream.cpp
+++ b/llvm/lib/DebugInfo/CodeView/ByteStream.cpp
@@ -62,6 +62,10 @@ template <bool Writable> uint32_t ByteStream<Writable>::getLength() const {
return Data.size();
}
+template <bool Writable> Error ByteStream<Writable>::commit() const {
+ return Error::success();
+}
+
template <bool Writable> StringRef ByteStream<Writable>::str() const {
const char *CharData = reinterpret_cast<const char *>(Data.data());
return StringRef(CharData, Data.size());
OpenPOWER on IntegriCloud