summaryrefslogtreecommitdiff
path: root/include/llvm/ModuleProvider.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-01 00:32:48 +0000
committerChris Lattner <sabre@nondot.org>2004-02-01 00:32:48 +0000
commit369b123bc707377e1da9dcba3b28bf08d8be99cc (patch)
tree61ad81b1e86811e2fd2fa7f7d521821ae1635362 /include/llvm/ModuleProvider.h
parentda79bd2322b63c2568e760ce5d3842bade9b3ecf (diff)
downloadllvm-369b123bc707377e1da9dcba3b28bf08d8be99cc.tar.gz
llvm-369b123bc707377e1da9dcba3b28bf08d8be99cc.tar.bz2
llvm-369b123bc707377e1da9dcba3b28bf08d8be99cc.tar.xz
Add comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ModuleProvider.h')
-rw-r--r--include/llvm/ModuleProvider.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/ModuleProvider.h b/include/llvm/ModuleProvider.h
index a9422c2afb..8af3196acc 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