aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ExecutionEngine/ObjectBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/ExecutionEngine/ObjectBuffer.h')
-rw-r--r--include/llvm/ExecutionEngine/ObjectBuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ExecutionEngine/ObjectBuffer.h b/include/llvm/ExecutionEngine/ObjectBuffer.h
index 96a48b2..32de404 100644
--- a/include/llvm/ExecutionEngine/ObjectBuffer.h
+++ b/include/llvm/ExecutionEngine/ObjectBuffer.h
@@ -44,6 +44,7 @@ public:
const char *getBufferStart() const { return Buffer->getBufferStart(); }
size_t getBufferSize() const { return Buffer->getBufferSize(); }
+ StringRef getBuffer() const { return Buffer->getBuffer(); }
protected:
// The memory contained in an ObjectBuffer