LLVM API Documentation
#include <ModuleProvider.h>
Inheritance diagram for llvm::ExistingModuleProvider:
Public Member Functions | |
ExistingModuleProvider (Module *M) | |
bool | materializeFunction (Function *F, std::string *ErrInfo=0) |
Module * | materializeModule (std::string *ErrInfo=0) |
Definition at line 69 of file ModuleProvider.h.
llvm::ExistingModuleProvider::ExistingModuleProvider | ( | Module * | M | ) | [inline] |
bool llvm::ExistingModuleProvider::materializeFunction | ( | Function * | F, | |
std::string * | ErrInfo = 0 | |||
) | [inline, virtual] |
materializeFunction - make sure the given function is fully read. If the module is corrupt, this returns true and fills in the optional string with information about the problem. If successful, this returns false.
Implements llvm::ModuleProvider.
Definition at line 73 of file ModuleProvider.h.
Module* llvm::ExistingModuleProvider::materializeModule | ( | std::string * | ErrInfo = 0 |
) | [inline, virtual] |
materializeModule - make sure the entire Module has been completely read. On error, return null and fill in the error string if specified.
Implements llvm::ModuleProvider.
Definition at line 76 of file ModuleProvider.h.
References llvm::ModuleProvider::TheModule.