]> granicus.if.org Git - llvm/commitdiff
Generalize interface a bit
authorChris Lattner <sabre@nondot.org>
Thu, 6 Mar 2003 16:50:21 +0000 (16:50 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 6 Mar 2003 16:50:21 +0000 (16:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5711 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Bytecode/Reader.h

index 2470fbb85add06e69d7044aa45997022b66c424a..b9b24303dd8853a207f00d6af7a9a808b536fc07 100644 (file)
@@ -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