summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-04-16 23:12:51 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-04-16 23:12:51 +0000
commitb7fb724b04d6fb6953ea4ae999afda2a58fc033f (patch)
tree88f4c7b7bd1134889788effe423a8fbc216b6c6c /llvm/include/llvm-c
parent385fa26f9ad541c4b0aced65d79675297aa7f204 (diff)
downloadbcm5719-llvm-b7fb724b04d6fb6953ea4ae999afda2a58fc033f.tar.gz
bcm5719-llvm-b7fb724b04d6fb6953ea4ae999afda2a58fc033f.zip
C API: Add LLVMGetBufferSize()
llvm-svn: 179647
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index f155b0dbf26..093c89ae997 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/include/llvm-c/Core.h
@@ -2580,6 +2580,7 @@ LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRangeCopy(const char *InputD
size_t InputDataLength,
const char *BufferName);
const char* LLVMGetBufferStart(LLVMMemoryBufferRef MemBuf);
+size_t LLVMGetBufferSize(LLVMMemoryBufferRef MemBuf);
void LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf);
/**
OpenPOWER on IntegriCloud