implement the ModuleProvider::dematerializeFunction hook

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37080 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2007-05-15 06:29:44 +00:00
parent 76c94b6169
commit d67c632d96
2 changed files with 21 additions and 9 deletions

View File

@@ -123,7 +123,8 @@ public:
virtual bool materializeFunction(Function *F, std::string *ErrInfo = 0);
virtual Module *materializeModule(std::string *ErrInfo = 0);
virtual void dematerializeFunction(Function *F);
bool Error(const char *Str) {
ErrorString = Str;
return true;