mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-13 23:25:06 +00:00
Added doxygen comments for the streaming module provider.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8672 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -16,28 +16,29 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
///
|
/// getBytecodeModuleProvider - lazy function-at-a-time loading from a file
|
||||||
///
|
///
|
||||||
AbstractModuleProvider*
|
AbstractModuleProvider*
|
||||||
getBytecodeModuleProvider(const std::string &Filename);
|
getBytecodeModuleProvider(const std::string &Filename);
|
||||||
|
|
||||||
///
|
/// getBytecodeBufferModuleProvider - lazy function-at-a-time loading from a
|
||||||
|
/// buffer
|
||||||
///
|
///
|
||||||
AbstractModuleProvider*
|
AbstractModuleProvider*
|
||||||
getBytecodeBufferModuleProvider(const unsigned char *Buffer,
|
getBytecodeBufferModuleProvider(const unsigned char *Buffer,
|
||||||
unsigned BufferSize,
|
unsigned BufferSize,
|
||||||
const std::string &ModuleID);
|
const std::string &ModuleID = "");
|
||||||
|
|
||||||
/// Parse the given bytecode file
|
/// ParseBytecodeFile - Parse the given bytecode file
|
||||||
///
|
///
|
||||||
Module* ParseBytecodeFile(const std::string &Filename,
|
Module* ParseBytecodeFile(const std::string &Filename,
|
||||||
std::string *ErrorStr = 0);
|
std::string *ErrorStr = 0);
|
||||||
|
|
||||||
/// Parse a given bytecode buffer
|
/// ParseBytecodeBuffer - Parse a given bytecode buffer
|
||||||
///
|
///
|
||||||
Module* ParseBytecodeBuffer(const unsigned char *Buffer,
|
Module* ParseBytecodeBuffer(const unsigned char *Buffer,
|
||||||
unsigned BufferSize,
|
unsigned BufferSize,
|
||||||
const std::string &ModuleID,
|
const std::string &ModuleID = "",
|
||||||
std::string *ErrorStr = 0);
|
std::string *ErrorStr = 0);
|
||||||
|
|
||||||
/// ReadArchiveFile - Read bytecode files from the specfied .a file, returning
|
/// ReadArchiveFile - Read bytecode files from the specfied .a file, returning
|
||||||
|
Reference in New Issue
Block a user