aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/ModuleProvider.h
diff options
context:
space:
mode:
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