summaryrefslogtreecommitdiffstats
path: root/llvm/tools
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize llvmc code.Mikhail Glushenkov2009-03-0216-861/+82
| | | | | | | | | | Move the code from 'llvmc/driver' into a new CompilerDriver library, and change the build system accordingly. Makes it easier for projects using LLVM to build their own llvmc-based drivers. Tested with objdir != srcdir. llvm-svn: 65821
* disable exports from a bunch more tools, those without plugins.Chris Lattner2009-02-268-0/+24
| | | | llvm-svn: 65558
* use TOOL_NO_EXPORTS, this shrinks the llvm-as binary from 1825296 to Chris Lattner2009-02-261-0/+3
| | | | | | 1662184 bytes (~10%) llvm-svn: 65551
* Tabs to spaces presto chango! Pointed out by Duncan Sands.Nick Lewycky2009-02-261-2/+2
| | | | llvm-svn: 65523
* Force 'llvm-config' to go first, optionally followed by lto and gold mixed inNick Lewycky2009-02-263-16/+10
| | | | | | | | | with the rest of the parallel directories. Build lto when possible on all platforms. Make gold to explicitly depend on libLTO. llvm-svn: 65518
* Add the function attributes pass during LTO time.Nick Lewycky2009-02-262-1/+3
| | | | llvm-svn: 65508
* If nobody minds, I'm using LTO to produce faster binaries. Switch fast codegenNick Lewycky2009-02-231-2/+2
| | | | | | off in libLTO. llvm-svn: 65310
* Add an option to the gold plugin to make it emit a file with the public apiNick Lewycky2009-02-221-1/+23
| | | | | | | | | | 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. llvm-svn: 65295
* really fix styleRafael Espindola2009-02-181-6/+6
| | | | llvm-svn: 64923
* fix styleRafael Espindola2009-02-181-4/+2
| | | | llvm-svn: 64905
* Eliminate several more unnecessary intptr_t casts.Dan Gohman2009-02-185-13/+13
| | | | llvm-svn: 64888
* Remove changes that were accidently included in previous commit.Devang Patel2009-02-171-6/+0
| | | | llvm-svn: 64835
* The debugger sometimes lookup dynamically in the runtime to find ivar info ↵Devang Patel2009-02-171-0/+6
| | | | | | | | of any Objective-C classes. It would be very helpful to debugger if the compiler encodes runtime version number in DWARF. Add support for two additional DWARF attributes to encode Objective-C runtime version number. llvm-svn: 64834
* tools like nm and ar only need register_claim_file and add_symbols. Don't abortRafael Espindola2009-02-171-5/+10
| | | | | | if other hooks are missing. llvm-svn: 64812
* Shoot! Remove this debugging line again!Nick Lewycky2009-02-151-2/+0
| | | | llvm-svn: 64617
* Don't discard definitions of common symbols. Not sure if this is the right fix.Nick Lewycky2009-02-151-1/+5
| | | | | | | | | | 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. llvm-svn: 64616
* Rename bugpoint's error message file so that if it somehowDan Gohman2009-02-121-1/+1
| | | | | | gets left behind, it's less cryptic. llvm-svn: 64399
* Revert r64299: it breaks the build when configuredDuncan Sands2009-02-112-5/+8
| | | | | | without --enable-pic, like my nightly tester. llvm-svn: 64302
* Try this. Darwin -> LTO, PIC -> LTO + possibly gold too.Nick Lewycky2009-02-112-8/+5
| | | | llvm-svn: 64299
* 62987 disables LTO build on darwin.Devang Patel2009-02-112-3/+8
| | | | | | Revert 62987 for now. Nicolas please investigate. llvm-svn: 64285
* fix bugpoint url, patch by Pieter de Bie!Chris Lattner2009-02-071-1/+1
| | | | llvm-svn: 64022
* Free the buffer in the case where we don't create a module out of it, asNick Lewycky2009-02-071-6/+9
| | | | | | | | pointed out by Torok Edwin. Remove trailing whitespaces. llvm-svn: 64002
* Correct strange whitespace.Nick Lewycky2009-02-061-1/+1
| | | | llvm-svn: 63927
* Free the buffer.Nick Lewycky2009-02-061-7/+2
| | | | llvm-svn: 63907
* fix PR3488: llvm-ar r doesn't replace existing filesChris Lattner2009-02-051-1/+1
| | | | | | Patch by Daniel Shelton! llvm-svn: 63870
* Revert the previous commit. It seems it didn'tDuncan Sands2009-02-051-1/+5
| | | | | | | | | really solve the problem. Also it changed the name from libLLVMgold to LLVMgold (correcting the name resulted in the original problem suddenly reappearing). llvm-svn: 63861
* Stop llvm-config thinking that there are circularDuncan Sands2009-02-051-5/+1
| | | | | | | | dependencies between libraries due to __dso_handle when doing "make install". I don't know what the LINK_COMPONENTS stuff is about, so I left it alone. llvm-svn: 63860
* It's not obvious, but lto_module_create_from_memory doesn't need to use theNick Lewycky2009-02-051-6/+0
| | | | | | | buffer after it creates the Module. Thus, we don't need to store this pointer in claimed_file. llvm-svn: 63834
* Remove accidentally included debug message!Nick Lewycky2009-02-051-6/+4
| | | | | | Reword a comment for clarity. Remove some extra whitespace. llvm-svn: 63823
* Alphabetize includes. Update comment.Torok Edwin2009-02-041-4/+3
| | | | llvm-svn: 63771
* mention that PIC is needed for libLTO and libLLVMgoldTorok Edwin2009-02-041-1/+5
| | | | llvm-svn: 63755
* remove printf - it was there only for debugging!Torok Edwin2009-02-041-1/+0
| | | | llvm-svn: 63742
* add support for .a files containing LLVM IR to the gold pluginTorok Edwin2009-02-041-6/+45
| | | | llvm-svn: 63741
* Add LLVM plugin for gold.Nick Lewycky2009-02-034-0/+377
| | | | llvm-svn: 63623
* Add some comments.Mikhail Glushenkov2009-01-301-1/+5
| | | | llvm-svn: 63364
* Add three new option properties.Mikhail Glushenkov2009-01-281-21/+36
| | | | | | Adds new option properties 'multi_val', 'one_or_more' and 'zero_or_one'. llvm-svn: 63172
* Build libLTO on any platform so long as PIC is enabled.Nick Lewycky2009-01-262-8/+3
| | | | llvm-svn: 62987
* Perform optional clang building.Mike Stump2009-01-241-0/+4
| | | | llvm-svn: 62895
* Fix 'llvm-config --libs' output.Mikhail Glushenkov2009-01-212-2/+2
| | | | | | | Change the naming scheme for llvmc plugins so that they do not appear in 'llvm-config --libs' output. llvm-svn: 62687
* Change the hook API back to prevent memory leaks.Mikhail Glushenkov2009-01-211-1/+1
| | | | llvm-svn: 62686
* Allow hooks with arguments.Mikhail Glushenkov2009-01-211-7/+12
| | | | llvm-svn: 62685
* Registry.h should not depend on CommandLine.h.Mikhail Glushenkov2009-01-161-2/+3
| | | | | | | Split Support/Registry.h into two files so that we have less to recompile every time CommandLine.h is changed. llvm-svn: 62312
* Delete trailing whitespace.Mikhail Glushenkov2009-01-161-21/+21
| | | | llvm-svn: 62307
* Add the private linkage.Rafael Espindola2009-01-152-2/+3
| | | | llvm-svn: 62279
* Some small documentation fixes.Mikhail Glushenkov2009-01-151-11/+12
| | | | llvm-svn: 62251
* Clarify the documentation a bit.Mikhail Glushenkov2009-01-151-6/+11
| | | | llvm-svn: 62249
* Make -o a prefix option.Mikhail Glushenkov2009-01-141-1/+1
| | | | | | Both 'llvmc -o file' and 'llvmc -ofile' should work. llvm-svn: 62211
* Add a --check-graph option to llvmc.Mikhail Glushenkov2009-01-093-4/+155
| | | | llvm-svn: 61989
* CMake: replace `rm' with portable invocations of cmake.Oscar Fuentes2009-01-071-4/+4
| | | | | | Based on a bug report by Yonggang Luo. llvm-svn: 61875
* make llvm-ld smart enough to link against native libraries that are Chris Lattner2009-01-051-2/+18
| | | | | | | not in system library directories by checking -L paths as well. Patch by Axel Naumann! llvm-svn: 61730
OpenPOWER on IntegriCloud