LLVM API Documentation
#include "llvm/Bytecode/Analyzer.h"
#include "llvm/Bytecode/Reader.h"
#include "Reader.h"
#include "llvm/Module.h"
#include "llvm/Instructions.h"
#include "llvm/Support/FileUtilities.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Config/unistd.h"
#include <cerrno>
Include dependency graph for ReaderWrappers.cpp:
Go to the source code of this file.
Functions | |
static std::string | ErrnoMessage (int savedErrNum, std::string descr) |
static ModuleProvider * | CheckVarargs (ModuleProvider *MP) |
ModuleProvider * | llvm::getBytecodeBufferModuleProvider (const unsigned char *Buffer, unsigned Length, const std::string &ModuleID, BytecodeHandler *H) |
Module * | llvm::ParseBytecodeBuffer (const unsigned char *Buffer, unsigned Length, const std::string &ModuleID, std::string *ErrorStr) |
Parse a given bytecode buffer. | |
ModuleProvider * | llvm::getBytecodeModuleProvider (const std::string &Filename, BytecodeHandler *H) |
Module * | llvm::ParseBytecodeFile (const std::string &Filename, std::string *ErrorStr) |
Parse the given bytecode file. | |
Module * | llvm::AnalyzeBytecodeFile (const std::string &Filename, BytecodeAnalysis &bca, std::string *ErrorStr, std::ostream *output) |
Analyze contents of a bytecode File. | |
Module * | llvm::AnalyzeBytecodeBuffer (const unsigned char *Buffer, unsigned Length, const std::string &ModuleID, BytecodeAnalysis &bca, std::string *ErrorStr, std::ostream *output) |
Analyze contents of a bytecode buffer. | |
bool | llvm::GetBytecodeDependentLibraries (const std::string &fname, Module::LibraryListType &deplibs) |
void | getSymbols (Module *M, std::vector< std::string > &symbols) |
bool | llvm::GetBytecodeSymbols (const sys::Path &fName, std::vector< std::string > &symbols) |
Get a bytecode file's externally visibile defined global symbols. | |
ModuleProvider * | llvm::GetBytecodeSymbols (const unsigned char *Buffer, unsigned Length, const std::string &ModuleID, std::vector< std::string > &symbols) |
Get a bytecode file's externally visibile defined global symbols. |
|
|
Definition at line 47 of file ReaderWrappers.cpp. |
|
Definition at line 350 of file ReaderWrappers.cpp. References llvm::Module::begin(), llvm::Module::end(), llvm::Module::gbegin(), llvm::Module::gend(), and name. Referenced by llvm::GetBytecodeSymbols(). |