Changes to get some meaningful feedback from the bytecode reader. At some point this stuff should all be exception driven, but for now it is not.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@970 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2001-10-24 01:15:12 +00:00
parent 88dedc1544
commit d6b65255fe
5 changed files with 81 additions and 34 deletions

View File

@ -18,7 +18,8 @@ class Module;
// Parse and return a class...
//
Module *ParseBytecodeFile(const string &Filename);
Module *ParseBytecodeBuffer(const char *Buffer, unsigned BufferSize);
Module *ParseBytecodeFile(const string &Filename, string *ErrorStr = 0);
Module *ParseBytecodeBuffer(const char *Buffer, unsigned BufferSize,
string *ErrorStr = 0);
#endif