summaryrefslogtreecommitdiff
path: root/include/llvm/ModuleProvider.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-30 17:53:30 +0000
committerChris Lattner <sabre@nondot.org>2003-09-30 17:53:30 +0000
commit4c3a753a2eef6181444a37bea337082e50644cd5 (patch)
treee061c6dbf6ab6a0cc53f08804c00173ffbf4bb16 /include/llvm/ModuleProvider.h
parent61087cc023128946e50deeb544f88c78ea96fda7 (diff)
downloadllvm-4c3a753a2eef6181444a37bea337082e50644cd5.tar.gz
llvm-4c3a753a2eef6181444a37bea337082e50644cd5.tar.bz2
llvm-4c3a753a2eef6181444a37bea337082e50644cd5.tar.xz
make the header comment more useful
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ModuleProvider.h')
-rw-r--r--include/llvm/ModuleProvider.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/llvm/ModuleProvider.h b/include/llvm/ModuleProvider.h
index 8ef7427657..e8e6052c0f 100644
--- a/include/llvm/ModuleProvider.h
+++ b/include/llvm/ModuleProvider.h
@@ -1,6 +1,10 @@
//===-- llvm/ModuleProvider.h - Interface for module providers --*- C++ -*-===//
//
-// Abstract interface for providing a module.
+// This file provides an abstract interface for loading a module from some
+// place. This interface allows incremental or random access loading of
+// functions from the file. This is useful for applications like JIT compilers
+// or interprocedural optimizers that do not need the entire program in memory
+// at the same time.
//
//===----------------------------------------------------------------------===//
@@ -39,7 +43,6 @@ public:
TheModule = 0;
return tempM;
}
-
};
#endif