4f81768d448f909f503885520928b1723f0388a3 |
|
13-Jun-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use LTO_CODEGEN_PIC_MODEL_DYNAMIC for PIE. This requirest a git version of gold to work. Since the enum value LDPO_PIE has just been added to plugin-api.h, use a numeric constant for now so that we don't require an unreleased version of gold to build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158402 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
9421406aada374f79ce2f8e576824463f7830981 |
|
23-Dec-2011 |
Dylan Noblesmith <nobled@dreamwidth.org> |
drop unneeded config.h includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147197 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
71280b55a3406c7dd4215449bf4a3ab216e78ffd |
|
16-Sep-2011 |
Ivan Krasin <krasin@chromium.org> |
use 64-bit types instead of off_t/size_t to avoid the issue when gold plugin is built with Large File Support (sizeof(off_t) == 64 on i686) and the rest of LLVM is built w/o Large File Support (sizeof(off_t) == 32 on i686) which corrupts the stack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139873 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
ccb7c906d1a2237c6dca4f4e8fbc4d7dca89979a |
|
12-Sep-2011 |
Ivan Krasin <krasin@chromium.org> |
gold plugin: don't report error on non-bitcode (e.g. ELF) files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139544 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
c170f5f31cd697818bf470b57b72c11a1da78010 |
|
09-Sep-2011 |
Ivan Krasin <krasin@chromium.org> |
gold plugin: report errors occured in lto_module_create_from_* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139340 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
5e0ac58bef2632a804358ec42a6ba5c6be42c450 |
|
26-Jul-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Don't try to dereference syms[0] on an empty vector. Reported by Todd Jackson and Jeffrey Bosboom! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136066 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
2abb82b1d3bc31d75b7c03d76f7343d450f7b394 |
|
04-May-2011 |
Duncan Sands <baldrick@free.fr> |
Remove an unused variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130860 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
e578252c27a85f3e63eb749006def6d0ce5ef1e1 |
|
07-Apr-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
If present, use gold's support for getting a file view. This prevents having to map the file both in the linker and in the plugin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129109 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
6421a8815e14189121a5e20731fd005ea08793e1 |
|
22-Mar-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a lto_codegen_compile_to_file to avoid producing a file, reading it to memory and writing it back to disk. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128108 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
f21b1058a194f411000bdd8000a8b675a7874056 |
|
17-Mar-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add support in the LTO library for loading an object from the middle of an file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127781 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
d36fb9b5d44b5df27e3d6559e04d44f2cbc6be94 |
|
27-Feb-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Gold now rescans archives as needed, so the pass-through options are not necessary anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126580 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
35358e02bbd584af79132df82ad346c2e32cae21 |
|
27-Feb-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
bfd was fixed, remove the work around. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126579 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
981b1c4c62054e4e39570a9230c0318f13f9a0a9 |
|
26-Feb-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
LTO uses MC now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126546 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
8e04fc3adf3419eeb9466b66cbaf9b027dcc2cab |
|
20-Feb-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Dispose modules early and only create codegen when the plugin is being used by the linker and not by nm or ar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126089 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
37d42f8a5072bfd216445b8c1f983686dea0ea1c |
|
19-Feb-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add modules to codegen as soon as possible. This reduces the link time of libxul from 12m31.084s to 7m1.359s. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126052 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
5a287d7a03ebf56c85de05968548aa2826a5886b |
|
16-Feb-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a debug obj-path option to make it easy to keep the .o produce by LTO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125663 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
5d618ef7f1ad005fc6912f3e9a08c044b082e47f |
|
14-Feb-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Switch llvm to using comdats. For now always use groups with a single section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125526 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
b4cc031a3e1306fea74c9211d50c5cde6d9a8cd5 |
|
08-Feb-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Don't open the file again in the gold plugin. To be able to do this, update MemoryBuffer::getOpenFile to not close the file descriptor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125128 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
8b1659e8bf957f09da5cf912ad2702b3366e4c08 |
|
20-Jan-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
gold: MinGW fix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123886 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
3cc52ea33c0b96d1682f14fc45c45b57df0f39b6 |
|
29-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
I swear I did a make clean and make before committing all this... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120304 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
e4f1a9b8a272ff7452759019ee7774e9dbdf1568 |
|
07-Oct-2010 |
Dan Gohman <gohman@apple.com> |
Move tool_output_file into its own file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115973 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
59b4d2a371e2a37db2876bc57db19475c7a1c527 |
|
02-Sep-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Fix compile errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112808 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
f29140106f74d15ba357aa0a7f109adc939c3104 |
|
20-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Convert tools to use tool_output_file, and introduce error checking to places which previously lacked it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111651 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
2d643ef32891859ec73b6eea2959748f5ebc3af7 |
|
11-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make it possible to set the cpu used for codegen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110759 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
98197e55c10176c3ef9100f7d852abbd2347225f |
|
10-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make it possible to set the flags passed to the assembler. Nick, please review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110705 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
15af387bffbf8e1fbab720fd0b92291bb68c023b |
|
10-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Fix silly bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110684 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
cbb170d057aa6692b19f577b1e09a6c1c7a26969 |
|
09-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make it possible to set the target triple and expose that with an option in the gold plugin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110604 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
51370298b848f215762bd8203afa64d0e2c89581 |
|
29-Jun-2010 |
Duncan Sands <baldrick@free.fr> |
Remove variables that are written by not read. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107126 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
11f403cf2be4d562f731571aee90bc25bd2d38ae |
|
23-Jun-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add an extra-library-path option to the plugin. This is used to support having a library both as bitcode and native code. We want to use the bitcode first, but if codegen produces new undefined references we have to use the native code to satisfy those references. Gold has no notion of bitcode and native search directories, so instead it has an API where the plugin can instruct it to look for the libraries it is passing to it. This patch uses that API. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106674 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
bebb640b6b495b89f37dde7921f88f24deaf00be |
|
21-Jun-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
add_input_file and add_input_library now take const arguments, remove the const_cast. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106410 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
dd76f18f90f3d9934353d852e45271b3be747743 |
|
18-Jun-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a pass-through option to the plugin. The use case for this option is to ask the linker to take another look into some library or object. The case when one might want to do this is when codegen introduces a new undefined reference. The canonical example is libgcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106303 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
38a979bf95db020094769194651b91291ca0220c |
|
14-Jun-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Don't produce output only if *all* files are unused. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105962 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
221aec60a7feb5fa14e7c2539617909855623ac1 |
|
07-Jun-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Plug a leak in the non-error case by removing one level of indirection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105556 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
6c8099243a0d8ff710e8f657628a8bea99b5dd07 |
|
07-Jun-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Misc cleanups to the gold plugin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105534 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
c4b55610d8cdd58e09b570c33c7484a60e500389 |
|
03-Jun-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a emit-llvm option to the plugin and make the path argument to also-emit-llvm optional. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105414 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
662f738ec3f9f4c77052b5a593cb30c28069713e |
|
03-Jun-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Perfer !string.empty() over string != "". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105397 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
fc55defb308aa994fae446f66ebc5a197263b81e |
|
03-Jun-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Whitespace cleanup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105395 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
c72f8e9f9d5b7a9c1717428f02ba30ad3f401799 |
|
03-Jun-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Don't preserve all symbols in a .so and instead trust gold to know what is needed. The result is that now we are able to drop unnecessary symbol from shared libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105389 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
62bacd69c2a21d55c308fb3e94e550559762b32c |
|
13-May-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add an also-emit-llvm option to the gold plugin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103714 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
4b67bc1e80a94ccceebda899e889e15c6c6c45ba |
|
16-Apr-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Revert r64616 which worked around http://gcc.gnu.org/PR42757 , we just didn't know it at the time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101439 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
f6920033e0ad2cd1e18d52dd56d0e8a3384faf72 |
|
16-Apr-2010 |
Dan Gohman <gohman@apple.com> |
Make things static that don't need to be referenced from outside the file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101430 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
5c00b4af61bb6abff2fb28ddd904808623a7db23 |
|
28-Oct-2009 |
Viktor Kutuzov <vkutuzov@accesssoftek.com> |
Fix to pass options from Gold plugin to LTO codegen git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85419 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
09b5d90429258f92f5e5ac98411a71460bcd9230 |
|
22-Oct-2009 |
Duncan Sands <baldrick@free.fr> |
Include config.h in order to have HAVE_STDINT_H be defined. In the latest binutils the plugin-api.h needs this - without it the LLVM gold plugin fails to compile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84861 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
baa26395ccf17fc988bb9cf62d6659ca8415ece9 |
|
25-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Make LLVM command-line tools overwrite their output files without -f. This is conventional command-line tool behavior. -f now just means "enable binary output on terminals". Add a -f option to llvm-extract and llvm-link, for consistency. Remove F_Force from raw_fd_ostream and enable overwriting and truncating by default. Introduce an F_Excl flag to permit users to enable a failure when the file already exists. This flag is currently unused. Update Makefiles and documentation accordingly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79990 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
17e9edc4a7bbeadf756494cf39fcacc9eff72202 |
|
23-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
Change raw_fd_ostream to take flags as an optional bitmask instead of as two bools. Use this to add a F_Append flag which has the obvious behavior. Other unrelated changes conflated into this patch: 1. REmove EH stuff from llvm-dis and llvm-as, the try blocks are dead. 2. Simplify the filename inference code in llvm-as/llvm-dis, because raw_fd_ostream does the right thing with '-'. 3. Switch machine verifier to use raw_ostream instead of ostream (Which is the thing that needed append in the first place). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
a1bdcedc3879510a874d24c450e07feb170d9cd6 |
|
15-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Add a Force option to raw_fd_ostream to specify whether opening an existing file is considered an error. Convert several tools to use raw_fd_ostream instead of std::ostream, and to use this new option instead of doing a manual check. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
ed1c0ffe0b2287deaee7cba7506c93aa34c6d4b7 |
|
01-Jul-2009 |
Jeffrey Yasskin <jyasskin@google.com> |
Add a portable strerror*() wrapper, llvm::sys::StrError(). This includes the Windows variant, strerror_s, but I couldn't test that. I'll update configure and config.h.in in a subsequent patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74621 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
42de34f013ee15377dd78aa0d827100166cb66c9 |
|
15-Jun-2009 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove the gcc= option. llvm-gcc uses only as= Look for as in the path. Doing it here instead of llvm-gcc because llvm-gcc has nothing as convenient as sys::Program::FindProgramByName. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73383 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
a9b9032df155fde9855307483f8e0b621f8730d7 |
|
07-Jun-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Add option for specifying the path to assembler, "as". This overrides the path to gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73008 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
195bea3498a7de1d84ace6d4685f02d4d7485468 |
|
30-Apr-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Allow a user of libLTO to specify the full pathname of the gcc executable to run when assembling. Wire this up to the gold plugin. You can now pass --plugin-opt gcc=/foo/bar/gcc and it will run that gcc instead of looking for it on the path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70490 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
7431af050f287011fd52e64034ede6dd98193feb |
|
24-Apr-2009 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add LTO_SYMBOL_DEFINITION_WEAKUNDEF, use that on the gold plugin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69972 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
ca4286295f7db200724cb488a04ad15441a8ba99 |
|
22-Feb-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Add an option to the gold plugin to make it emit a file with the public api list that can in turn be passed to -internalize pass through -internalize-public-api-file. Pass gold -plugin-opt=generate-api-file to produce "apifile.txt" in the current directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65295 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
6210a9493a25a9f97f4f0ec62a3ed8ca00f72423 |
|
18-Feb-2009 |
Rafael Espindola <rafael.espindola@gmail.com> |
really fix style git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64923 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
98c507ed5c2883bc8ef487d952e851da37f8b32f |
|
18-Feb-2009 |
Rafael Espindola <rafael.espindola@gmail.com> |
fix style git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64905 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
f163a957057339163c3dee24bce21911fb4dcdf5 |
|
17-Feb-2009 |
Rafael Espindola <rafael.espindola@gmail.com> |
tools like nm and ar only need register_claim_file and add_symbols. Don't abort if other hooks are missing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64812 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
45eb7865c924001e09bb2049708d4f1576ac23d4 |
|
15-Feb-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Shoot! Remove this debugging line again! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64617 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
e0afaa301d763096af400ef44714b0f4deb5b68b |
|
15-Feb-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Don't discard definitions of common symbols. Not sure if this is the right fix. Before this change, the program: int var; int main(void) { return 0; } when run under 'nm -g' would show 'U var' with the gold plugin and 'B var' with gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64616 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
0df91b2c8677f3f8fd25b46953051c9d95c1c1ae |
|
07-Feb-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Free the buffer in the case where we don't create a module out of it, as pointed out by Torok Edwin. Remove trailing whitespaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64002 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
ea97aa6129fc89292e215d01fa66504195f1a969 |
|
06-Feb-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Free the buffer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63907 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
98245c7060a0a5399ca9e53f25541a5751ce4689 |
|
05-Feb-2009 |
Nick Lewycky <nicholas@mxc.ca> |
It's not obvious, but lto_module_create_from_memory doesn't need to use the buffer after it creates the Module. Thus, we don't need to store this pointer in claimed_file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63834 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
c1da8864a9a47329af6255567097f01d352eb311 |
|
05-Feb-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Remove accidentally included debug message! Reword a comment for clarity. Remove some extra whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63823 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
6cbbdfd2e900164beeb34513a25d88cc58e582b0 |
|
04-Feb-2009 |
Torok Edwin <edwintorok@gmail.com> |
Alphabetize includes. Update comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63771 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
4cb16349b0a45bfdc21d69bed416e4f3e00a1196 |
|
04-Feb-2009 |
Torok Edwin <edwintorok@gmail.com> |
remove printf - it was there only for debugging! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63742 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
3e5a0d8b0b848d1b0deb8976924703787b221e31 |
|
04-Feb-2009 |
Torok Edwin <edwintorok@gmail.com> |
add support for .a files containing LLVM IR to the gold plugin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63741 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|
3e62b2dc93dae6904f0717612782ab6ebf413e1d |
|
03-Feb-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Add LLVM plugin for gold. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63623 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/gold/gold-plugin.cpp
|