From ca403272f4c8fc0a28ad17c74df2ea001cf8e151 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 27 Oct 2006 22:02:30 +0000 Subject: [PATCH] Document removeModule(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31237 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LinkTimeOptimization.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/LinkTimeOptimization.html b/docs/LinkTimeOptimization.html index 226017f80cc..e237718458f 100644 --- a/docs/LinkTimeOptimization.html +++ b/docs/LinkTimeOptimization.html @@ -30,6 +30,7 @@
  • readLLVMObjectFile()
  • optimizeModules()
  • getTargetTriple()
  • +
  • removeModule()
  • getAlignment()
  • Debugging Information
  • @@ -338,6 +339,17 @@ $ llvm-gcc4 a.o main.o -o main # <-- standard link command without any modifi while validating LLVM bytecode file.

    + +
    + removeModule() +
    + +
    +

    Internally, LLVMlto maintains LLVM bytecode modules in + memory. The linker may use removeModule() method to remove desired + modules from memory.

    +
    +
    getAlignment() -- 2.34.1