summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ld
Commit message (Collapse)AuthorAgeFilesLines
...
* To simplify the upcoming context-on-type change, switch all command line ↵Owen Anderson2009-07-151-1/+1
| | | | | | | | tools to using the default global context for now. This will let us to hardwire stuff to the global context in the short term while the API is sorted out. llvm-svn: 75846
* Use errs() instead of std::cerr.Dan Gohman2009-07-151-2/+3
| | | | llvm-svn: 75791
* Hold the LLVMContext by reference rather than by pointer.Owen Anderson2009-07-011-1/+1
| | | | llvm-svn: 74640
* Add a pointer to the owning LLVMContext to Module. This requires threading ↵Owen Anderson2009-07-011-2/+4
| | | | | | | | | | LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614
* Change LTO to run the global opt pass twice.Daniel Dunbar2009-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | - This matches llvm-ld. It took a bit of archeology to figure out what the right thing to do was (whether this was intentionally added or intentionally removed). My final conclusion is that Chris added this intentionally here: http://llvm.org/viewvc/llvm-project?view=rev&revision=16913 but the changes weren't propogated to llvm-ld until here: http://llvm.org/viewvc/llvm-project?view=rev&revision=34058 which was after lto.cpp had been cloned off (of llvm-ld), here: http://llvm.org/viewvc/llvm-project?view=rev&revision=29494 From the commit message, it looks like the motivation for running global opt again is because we ran it prior to inlining. Based on that I updated the comment and also only run the pass if we actually ran the inliner. Chris, please review. llvm-svn: 72811
* Add createStandardLTOPasses to StandardPasses.h, and move lto and llvm-ld over.Daniel Dunbar2009-06-031-65/+4
| | | | | | | - I know it sounds crazy, but I think all the pass lists are now coalesced into StandardPasses.h. llvm-svn: 72805
* Change various llvm utilities to use PrettyStackTraceProgram inChris Lattner2009-03-061-2/+6
| | | | | | | their main routines. This makes the tools print their argc/argv commands if they crash. llvm-svn: 66248
* Add the function attributes pass during LTO time.Nick Lewycky2009-02-261-1/+2
| | | | llvm-svn: 65508
* 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
* ignore the -m elf_i386 directive used in the linux kernelAndrew Lenharth2008-11-191-0/+3
| | | | llvm-svn: 59642
* Initial support for the CMake build system.Oscar Fuentes2008-09-221-0/+7
| | | | llvm-svn: 56419
* Remove GCSE, ValueNumbering, and LoadValueNumbering. These have been ↵Owen Anderson2008-08-151-1/+0
| | | | | | deprecated for almost a year; it's finally time for them to go away. llvm-svn: 54822
* Use ADCE instead of just DCE. ADCE will better clean up after jump threading,Owen Anderson2008-07-021-1/+1
| | | | | | for instance. llvm-svn: 53045
* Since we are using GCC to assemble the program, make sure the assembly ↵Argyrios Kyrtzidis2008-06-271-0/+3
| | | | | | syntax is AT&T. llvm-svn: 52827
* run mem2reg after the second jump threading pass in llvm-ld.Chris Lattner2008-06-251-1/+2
| | | | llvm-svn: 52728
* remove some dead options.Chris Lattner2008-06-251-29/+0
| | | | llvm-svn: 52726
* Add an "exe" suffix only if the output file has no suffix at all.Argyrios Kyrtzidis2008-06-151-8/+8
| | | | llvm-svn: 52289
* Make sure all produced executable files have "exe" suffix on Windows.Argyrios Kyrtzidis2008-06-151-10/+16
| | | | | | With this more general way, -native and -native-cbe options are handled too. llvm-svn: 52287
* Append "exe" suffix to executable files.Argyrios Kyrtzidis2008-06-151-1/+11
| | | | llvm-svn: 52285
* Move MemCpyOpt after GVN.Owen Anderson2008-04-221-1/+1
| | | | llvm-svn: 50097
* run the jump threading pass in llvm-ld alsoChris Lattner2008-04-211-1/+3
| | | | llvm-svn: 50027
* Factor a bunch of functionality related to memcpy and memset transforms out of Owen Anderson2008-04-091-0/+1
| | | | | | GVN and into its own pass. llvm-svn: 49419
* style and spellingAndrew Lenharth2008-03-191-2/+2
| | | | llvm-svn: 48562
* llvm-ld deserves disable-verify too. opt shouldn't have all the fun options.Andrew Lenharth2008-03-191-1/+5
| | | | llvm-svn: 48550
* Unbreak build with gcc 4.3: provide missed includes and silence most ↵Anton Korobeynikov2008-02-201-0/+1
| | | | | | annoying warnings. llvm-svn: 47367
* Add support for frameworks. Patch by Shantonu Sen!Chris Lattner2008-01-271-3/+20
| | | | llvm-svn: 46421
* Fix llvm-ld -Xlinker, patch by Daniel Teske!Chris Lattner2008-01-091-3/+1
| | | | llvm-svn: 45770
* remove attributions from tools.Chris Lattner2007-12-292-4/+4
| | | | llvm-svn: 45421
* remove attributions from tools/utils makefiles.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45414
* Move the space in overview output for commands out of each of theDan Gohman2007-10-081-1/+1
| | | | | | commands and into the common code. llvm-svn: 42752
* Turn GVN on by default.Owen Anderson2007-09-081-2/+1
| | | | llvm-svn: 41787
* Rename FastDSE to just DSE.Owen Anderson2007-08-011-1/+1
| | | | llvm-svn: 40668
* Remove dead option.Reid Spencer2007-07-231-3/+0
| | | | llvm-svn: 40415
* Turn on FastDSE by default.Owen Anderson2007-07-171-1/+1
| | | | | | | Note: FastDSE now equals or exceeds the results of old DSE on all of SPEC2000 and SPEC2006. Unless major problems show up in the testers, it will likely completely replace old DSE in the near future. llvm-svn: 39986
* Here is the bulk of the sanitizing.Gabor Greif2007-07-051-33/+33
| | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913
* Fix pr1448Chris Lattner2007-06-191-14/+20
| | | | llvm-svn: 37658
* if internalize is disabled, don't run the pass at all!Chris Lattner2007-06-061-1/+2
| | | | llvm-svn: 37477
* switch tools to bitcode instead of bytecodeChris Lattner2007-05-062-13/+2
| | | | llvm-svn: 36868
* add bitcode support.Chris Lattner2007-05-062-5/+12
| | | | llvm-svn: 36853
* Augment the verbose output to print out the sub-commands executed.Reid Spencer2007-04-291-8/+29
| | | | llvm-svn: 36581
* run a late dce pass to clean up extra cruft.Chris Lattner2007-04-051-0/+1
| | | | llvm-svn: 35684
* For PR1302:Reid Spencer2007-04-041-12/+13
| | | | | | | Rename LinkItems as NativeLinkItems since it is filled out by the Linker library to contain only those items deemed to be native. llvm-svn: 35654
* Now LICM is a LoopPass.Devang Patel2007-03-071-0/+1
| | | | llvm-svn: 35001
* Add possibility to set memory limit for binaries run via libSystem. ThisAnton Korobeynikov2007-02-161-4/+4
| | | | | | is especially needed for bugpoint. This partly implements PR688 llvm-svn: 34349
* Clean up error handling.Reid Spencer2007-02-091-72/+55
| | | | llvm-svn: 34073
* For PR1153:Reid Spencer2007-02-081-0/+5
| | | | | | Copy a couple more missing options from gccld to llvm-ld. llvm-svn: 34061
* For PR1153:Reid Spencer2007-02-081-13/+32
| | | | | | | | Make llvm-ld more gccld-like by having it run the same set of passes. The delta was probably due to lack of llvm-ld being maintained. Just another reason to have only one optimizing linker in in LLVM. llvm-svn: 34058
* For PR411:Reid Spencer2007-02-051-6/+0
| | | | | | | | | | This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch addresses the necessary changes to deal with this and removes code no longer needed as a result. This completes the bulk of the changes for this PR. Some cleanup patches will follow. llvm-svn: 33918
* default to emiting an uncompressed .bc fileChris Lattner2007-01-211-1/+1
| | | | llvm-svn: 33420
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-071-19/+19
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
OpenPOWER on IntegriCloud