summaryrefslogtreecommitdiff
path: root/tools/gold/gold-plugin.cpp
AgeCommit message (Expand)AuthorFilesLines
2014-03-06Replace OwningPtr<T> with std::unique_ptr<T>.Ahmed Charles1-2/+1
2014-02-11Improve the declaration when LDPO_PIE is not available.Sylvestre Ledru1-7/+6
2014-02-11If LDPO_PIE is not defined (before binutils 2.23 version), Sylvestre Ledru1-0/+7
2014-02-10Fix an old FIXME. LDPO_PIE is available since 2.23, realeased 2012-10-22.Rafael Espindola1-2/+1
2014-01-13Re-sort #include lines again, prior to moving headers around.Chandler Carruth1-2/+2
2013-12-25gold-plugin.cpp: Use form of <plugin-api.h>, since it is external header.NAKAMURA Takumi1-1/+1
2013-10-31Use LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN instead of the "dso list".Rafael Espindola1-6/+15
2013-10-18Check for errors when calling lto_codegen_add_module in the gold plugin.Rafael Espindola1-2/+7
2013-10-16[pr17595] Fix a use after free.Rafael Espindola1-6/+11
2013-10-03Optimize linkonce_odr unnamed_addr functions during LTO.Rafael Espindola1-1/+6
2013-10-03Dispose the codegen even when just writing the bitcode file.Rafael Espindola1-1/+3
2013-08-12Revert r188188 and r188200.Shuxin Yang1-24/+8
2013-08-12Misc enhancements to LTO:Shuxin Yang1-8/+24
2013-07-23Split getOpenFile into getOpenFile and getOpenFileSlice.Rafael Espindola1-3/+2
2013-07-23Fix use of the getOpenFile api.Rafael Espindola1-2/+2
2013-06-17Fix the build with gcc 4.7 and -std=c++11.Rafael Espindola1-1/+1
2013-06-17Don't use PathV1.h in tools/gold/gold-plugin.cpp.Rafael Espindola1-8/+8
2013-06-13Avoid using PathV1.h in Program.h.Rafael Espindola1-0/+1
2012-12-04Sort the #include lines for tools/...Chandler Carruth1-6/+3
2012-10-26libLTO has a bug in that it will keep every symbol if none is needed. We usedRafael Espindola1-10/+0
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-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-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-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-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-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-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