[llvm-commits] CVS: llvm/include/llvm/ModuleProvider.h
Chris Lattner
lattner at cs.uiuc.edu
Sat Jan 31 18:34:01 PST 2004
Changes in directory llvm/include/llvm:
ModuleProvider.h updated: 1.9 -> 1.10
---
Log message:
Add comments
---
Diffs of the changes: (+4 -1)
Index: llvm/include/llvm/ModuleProvider.h
diff -u llvm/include/llvm/ModuleProvider.h:1.9 llvm/include/llvm/ModuleProvider.h:1.10
--- llvm/include/llvm/ModuleProvider.h:1.9 Wed Jan 21 16:54:10 2004
+++ llvm/include/llvm/ModuleProvider.h Sat Jan 31 18:32:48 2004
@@ -35,15 +35,18 @@
///
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
More information about the llvm-commits
mailing list