diff options
Diffstat (limited to 'include/lldb/Core/Value.h')
-rw-r--r-- | include/lldb/Core/Value.h | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/include/lldb/Core/Value.h b/include/lldb/Core/Value.h index c7d44322333c..957cedeb0dcc 100644 --- a/include/lldb/Core/Value.h +++ b/include/lldb/Core/Value.h @@ -124,9 +124,15 @@ public: Value(); Value(const Scalar& scalar); Value(const Vector& vector); - Value(const uint8_t *bytes, int len); + Value(const void *bytes, int len); Value(const Value &rhs); + void + SetBytes (const void *bytes, int len); + + void + AppendBytes (const void *bytes, int len); + Value & operator=(const Value &rhs); @@ -232,8 +238,23 @@ public: return false; } - void + size_t ResizeData(size_t len); + + size_t + AppendDataToHostBuffer (const Value &rhs); + + DataBufferHeap & + GetBuffer () + { + return m_data_buffer; + } + + const DataBufferHeap & + GetBuffer () const + { + return m_data_buffer; + } bool ValueOf(ExecutionContext *exe_ctx); |