summaryrefslogtreecommitdiff
path: root/tools/gold
AgeCommit message (Expand)AuthorFilesLines
2012-10-26libLTO has a bug in that it will keep every symbol if none is needed. We usedRafael Espindola1-10/+0
2012-08-27Pass -lLTO after gold-plugin.o so that it gets used in systems that default toRafael Espindola1-1/+3
2012-06-13Use LTO_CODEGEN_PIC_MODEL_DYNAMIC for PIE. This requirest a git version ofRafael Espindola1-0/+2
2011-12-22drop unneeded config.h includesDylan Noblesmith1-1/+1
2011-11-23Point to libLTO with -L/PATH/ -lLTO so that it is found in the installRafael Espindola1-1/+1
2011-11-05Use absolute path to exportsfile in gold plugin CMake build.Peter Collingbourne1-1/+2
2011-10-18build: Tidy up a bunch of tool Makefiles, and simplify where possible using theDaniel Dunbar1-10/+8
2011-09-15use 64-bit types instead of off_t/size_t to avoid the issue whenIvan Krasin1-1/+1
2011-09-12gold plugin: don't report error on non-bitcode (e.g. ELF) files.Ivan Krasin1-9/+25
2011-09-09gold plugin: report errors occured in lto_module_create_from_*Ivan Krasin1-1/+6
2011-07-26Don't try to dereference syms[0] on an empty vector. Reported by Todd JacksonNick Lewycky1-0/+2
2011-05-31Also remove -lLTO which should have been in r132349. I failed to apply thisNick Lewycky1-1/+1
2011-05-31Make the gold plugin build on Cygwin as well as Linux. Patch by David Meyer!Nick Lewycky1-1/+1
2011-05-12CMake builds gold by default since revision 127466. This isOscar Fuentes1-2/+4
2011-05-04Remove an unused variable.Duncan Sands1-1/+0
2011-04-07If present, use gold's support for getting a file view. This prevents havingRafael Espindola1-1/+12
2011-03-22Add a lto_codegen_compile_to_file to avoid producing a file, reading it toRafael Espindola1-30/+2
2011-03-17Add support in the LTO library for loading an object from the middleRafael Espindola1-37/+4
2011-03-11Force re-linking of LLVMgold.so when its exports file changes.Oscar Fuentes1-0/+6
2011-03-11Fix processing of gold.exports.Oscar Fuentes1-1/+1
2011-03-11Add LTO and gold plugin to the CMake build. Linux-only, support forOscar Fuentes1-0/+37
2011-02-27Gold now rescans archives as needed, so the pass-through options are notRafael Espindola1-22/+0
2011-02-27bfd was fixed, remove the work around.Rafael Espindola1-12/+1
2011-02-26LTO uses MC now.Rafael Espindola1-24/+0
2011-02-20Dispose modules early and only create codegen when the plugin is beingRafael Espindola1-5/+19
2011-02-19Add modules to codegen as soon as possible. This reduces the link timeRafael Espindola1-30/+24
2011-02-16Add a debug obj-path option to make it easy to keep the .o produce by LTO.Rafael Espindola1-14/+24
2011-02-14Switch llvm to using comdats. For now always use groups with a singleRafael Espindola1-2/+2
2011-02-08Don't open the file again in the gold plugin. To be able to do this, updateRafael Espindola1-7/+23
2011-01-20gold: MinGW fix.Michael J. Spencer1-0/+7
2010-11-29Now to chant the magical incantation that will exorcise the System libraryCharles Davis1-1/+1
2010-11-29I swear I did a make clean and make before committing all this...Michael J. Spencer1-3/+3
2010-10-07Move tool_output_file into its own file.Dan Gohman1-1/+1
2010-09-10Don't build redundant libLLVMgold.a.NAKAMURA Takumi1-1/+0
2010-09-02Fix compile errors.Nick Lewycky1-4/+4
2010-08-20Convert tools to use tool_output_file, and introduce errorDan Gohman1-2/+9
2010-08-11Make it possible to set the cpu used for codegen.Rafael Espindola1-0/+6
2010-08-10Make it possible to set the flags passed to the assembler.Rafael Espindola1-0/+12
2010-08-10Fix silly bug.Rafael Espindola1-1/+1
2010-08-09Make it possible to set the target triple and expose that with an option in theRafael Espindola1-0/+7
2010-08-08s/libLLVMgold/LLVMgold/gRafael Espindola1-2/+2
2010-06-29Remove variables that are written by not read.Duncan Sands1-6/+0
2010-06-23Add an extra-library-path option to the plugin. This is used to supportRafael Espindola1-0/+13
2010-06-21add_input_file and add_input_library now take const arguments, remove theRafael Espindola1-2/+2
2010-06-18Add a pass-through option to the plugin. The use case for this option is toRafael Espindola1-0/+26
2010-06-14Don't produce output only if *all* files are unused.Rafael Espindola1-7/+7
2010-06-07Plug a leak in the non-error case by removing one level of indirection.Nick Lewycky1-6/+4
2010-06-07Misc cleanups to the gold plugin.Rafael Espindola1-15/+16
2010-06-03Add a emit-llvm option to the plugin and make the path argument to also-emit-...Rafael Espindola1-2/+23
2010-06-03Perfer !string.empty() over string != "".Nick Lewycky1-2/+2