From: Chris Lattner Date: Sat, 19 Apr 2003 21:45:52 +0000 (+0000) Subject: Add prototype to read .a files X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=23e0a58c5a48802946cf0fbadef023179a443f05;p=llvm Add prototype to read .a files git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5821 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Bytecode/Reader.h b/include/llvm/Bytecode/Reader.h index b9b24303dd8..57df2e96368 100644 --- a/include/llvm/Bytecode/Reader.h +++ b/include/llvm/Bytecode/Reader.h @@ -13,6 +13,7 @@ #define LLVM_BYTECODE_READER_H #include +#include 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 &Objects, + std::string *ErrorStr = 0); + #endif