From 5641f8d67f16b44a03290b6884ac18a08623a291 Mon Sep 17 00:00:00 2001 From: Torok Edwin Date: Wed, 3 Jun 2009 15:06:19 +0000 Subject: [PATCH] Document how easy it is to use the gold plugin and have LTO with autotooled projects. Please correct the documentation if I missed anything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72773 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/GoldPlugin.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/docs/GoldPlugin.html b/docs/GoldPlugin.html index ee014101bc2..845ea1cde50 100644 --- a/docs/GoldPlugin.html +++ b/docs/GoldPlugin.html @@ -14,6 +14,7 @@
  • Usage
  • Licensing
  • @@ -135,6 +136,34 @@ $ llvm-gcc -use-gold-plugin a.o b.o -o main # <-- link with LLVMgold plugin example gold does not currently eliminate foo4.

    + +
    Quickstart for using LTO with autotooled projects
    + +
    +

    gold, ar and nm all support plugins now, so everything should be + in place for an easy to use LTO build of autotooled projects:

    + +

    The environment variable settings may work for non-autotooled projects + too, but you may need to set the LD environment variable as well.

    +
    +
    Licensing
    -- 2.34.1