mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Add prototype to read .a files
llvm-svn: 5821
This commit is contained in:
parent
c1da4513e0
commit
a20c5c7083
@ -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