Document removeModule().
authorDevang Patel <dpatel@apple.com>
Fri, 27 Oct 2006 22:02:30 +0000 (22:02 +0000)
committerDevang Patel <dpatel@apple.com>
Fri, 27 Oct 2006 22:02:30 +0000 (22:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31237 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LinkTimeOptimization.html

index 226017f80cc3895fd690b5628ab8b81eb5fda3e8..e237718458f2dcc7edcbeea374048b1792f21e9b 100644 (file)
@@ -30,6 +30,7 @@
     <li><a href="#readllvmobjectfile">readLLVMObjectFile()</a></li>
     <li><a href="#optimizemodules">optimizeModules()</a></li>
     <li><a href="#gettargettriple">getTargetTriple()</a></li>
+    <li><a href="#removemodule">removeModule()</a></li>
     <li><a href="#getalignment">getAlignment()</a></li>
   </ul></li>
   <li><a href="#debug">Debugging Information</a></li>
@@ -338,6 +339,17 @@ $ llvm-gcc4 a.o main.o -o main # &lt;-- standard link command without any modifi
   while validating LLVM bytecode file.</p>
 </div>
 
+<!-- ======================================================================= -->
+<div class="doc_subsection">
+  <a name="removemodule">removeModule()</a>
+</div>
+
+<div class="doc_text">
+  <p>Internally, <a href="#lto">LLVMlto</a> maintains LLVM bytecode modules in 
+  memory. The linker may use <tt>removeModule()</tt> method to remove desired
+  modules from memory. </p>
+</div>
+
 <!-- ======================================================================= -->
 <div class="doc_subsection">
   <a name="getalignment">getAlignment()</a>