mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 21:20:29 +00:00
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:
parent
968cfd0b6e
commit
23e0a58c5a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user