From: Chris Lattner Date: Sun, 1 Feb 2004 00:32:48 +0000 (+0000) Subject: Add comments X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=369b123bc707377e1da9dcba3b28bf08d8be99cc;p=oota-llvm.git Add comments git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11042 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ModuleProvider.h b/include/llvm/ModuleProvider.h index a9422c2afb0..8af3196accd 100644 --- a/include/llvm/ModuleProvider.h +++ b/include/llvm/ModuleProvider.h @@ -35,15 +35,18 @@ public: /// Module* getModule() { return TheModule; } - /// materializeFunction - make sure the given function is fully read. + /// materializeFunction - make sure the given function is fully read. Note + /// that this can throw an exception if the module is corrupt! /// virtual void materializeFunction(Function *F) = 0; /// materializeModule - make sure the entire Module has been completely read. + /// Note that this can throw an exception if the module is corrupt! /// virtual Module* materializeModule() = 0; /// releaseModule - no longer delete the Module* when provider is destroyed. + /// Note that this can throw an exception if the module is corrupt! /// virtual Module* releaseModule() { // Since we're losing control of this Module, we must hand it back complete