summaryrefslogtreecommitdiff
path: root/tools/gold/gold-plugin.cpp
Commit message (Collapse)AuthorAge
...
* really fix styleRafael Espindola2009-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64923 91177308-0d34-0410-b5e6-96231b3b80d8
* fix styleRafael Espindola2009-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64905 91177308-0d34-0410-b5e6-96231b3b80d8
* tools like nm and ar only need register_claim_file and add_symbols. Don't abortRafael Espindola2009-02-17
| | | | | | | | if other hooks are missing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64812 91177308-0d34-0410-b5e6-96231b3b80d8
* Shoot! Remove this debugging line again!Nick Lewycky2009-02-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64617 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't discard definitions of common symbols. Not sure if this is the right fix.Nick Lewycky2009-02-15
| | | | | | | | | | | 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
* Free the buffer in the case where we don't create a module out of it, asNick Lewycky2009-02-07
| | | | | | | | | 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
* Free the buffer.Nick Lewycky2009-02-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63907 91177308-0d34-0410-b5e6-96231b3b80d8
* It's not obvious, but lto_module_create_from_memory doesn't need to use theNick Lewycky2009-02-05
| | | | | | | | 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
* Remove accidentally included debug message!Nick Lewycky2009-02-05
| | | | | | | 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
* Alphabetize includes. Update comment.Torok Edwin2009-02-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63771 91177308-0d34-0410-b5e6-96231b3b80d8
* remove printf - it was there only for debugging!Torok Edwin2009-02-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63742 91177308-0d34-0410-b5e6-96231b3b80d8
* add support for .a files containing LLVM IR to the gold pluginTorok Edwin2009-02-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63741 91177308-0d34-0410-b5e6-96231b3b80d8
* Add LLVM plugin for gold.Nick Lewycky2009-02-03
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63623 91177308-0d34-0410-b5e6-96231b3b80d8