Add prototype to read .a files

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5821 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-04-19 21:45:52 +00:00
parent 968cfd0b6e
commit 23e0a58c5a

View File

@ -13,6 +13,7 @@
#define LLVM_BYTECODE_READER_H
#include <string>
#include <vector>
class Module;
@ -23,4 +24,10 @@ Module *ParseBytecodeFile(const std::string &Filename,
Module *ParseBytecodeBuffer(const unsigned char *Buffer, unsigned BufferSize,
std::string *ErrorStr = 0);
// ReadArchiveFile - Read bytecode files from the specfied .a file, returning
// true on error, or false on success.
//
bool ReadArchiveFile(const std::string &Filename, std::vector<Module*> &Objects,
std::string *ErrorStr = 0);
#endif