aboutsummaryrefslogtreecommitdiff
path: root/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
commitedc93b356da17d404467d47456bb27b99c775e39 (patch)
tree367d7be47d45160ce2101b0d053ded12c71da5f8 /include/llvm-c
parent4074343b2d9bec7a70c500b2f62b3cd63b44f8c9 (diff)
C API: Add LLVMGetBufferSize()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179647 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/Core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index f155b0dbf2..093c89ae99 100644
--- a/include/llvm-c/Core.h
+++ b/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);
/**