From 369b123bc707377e1da9dcba3b28bf08d8be99cc Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 1 Feb 2004 00:32:48 +0000 Subject: [PATCH] Add comments git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11042 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ModuleProvider.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.34.1