From fade83f62fc55ff9f5efc006b5616bc213af09c7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 6 Mar 2003 16:50:21 +0000 Subject: [PATCH] Generalize interface a bit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5711 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Bytecode/Reader.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/Bytecode/Reader.h b/include/llvm/Bytecode/Reader.h index 2470fbb85ad..b9b24303dd8 100644 --- a/include/llvm/Bytecode/Reader.h +++ b/include/llvm/Bytecode/Reader.h @@ -20,6 +20,7 @@ class Module; // Module *ParseBytecodeFile(const std::string &Filename, std::string *ErrorStr = 0); -Module *ParseBytecodeBuffer(const unsigned char *Buffer, unsigned BufferSize); +Module *ParseBytecodeBuffer(const unsigned char *Buffer, unsigned BufferSize, + std::string *ErrorStr = 0); #endif -- 2.34.1