Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 4 | -56/+56 | |
| | | | | llvm-svn: 21422 | |||||
* | fix some 80 column violations | Chris Lattner | 2005-03-15 | 1 | -4/+11 | |
| | | | | | | Add support for programs that define main in a .a file, such as f2c'd programs. llvm-svn: 20631 | |||||
* | consolidate LinkFiles into LinkItems, use lib_* iterators. | Chris Lattner | 2005-03-15 | 2 | -85/+61 | |
| | | | | llvm-svn: 20630 | |||||
* | consolidate LinkLibraries into LinkItems | Chris Lattner | 2005-03-15 | 2 | -76/+57 | |
| | | | | llvm-svn: 20629 | |||||
* | This mega patch converts us from using Function::a{iterator|begin|end} to | Chris Lattner | 2005-03-15 | 2 | -8/+8 | |
| | | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597 | |||||
* | Add support for ".so" files compiled with LLVM which contain LLVM bytecode. | Chris Lattner | 2005-02-19 | 2 | -3/+11 | |
| | | | | llvm-svn: 20253 | |||||
* | Eliminate silly warnings from the linker of the form: | Chris Lattner | 2005-02-19 | 1 | -12/+0 | |
| | | | | | | | WARNING: Type conflict between types named 'union.._604.'. Src=' %union.._604.'. Dest=' %union.._604.' llvm-svn: 20252 | |||||
* | Minor cleanup. No need to explicitly tell the compiler the template arguments. | Chris Lattner | 2005-02-13 | 1 | -3/+2 | |
| | | | | llvm-svn: 20153 | |||||
* | Print something useful for gccld -v with an archive. | Chris Lattner | 2005-02-13 | 1 | -0/+2 | |
| | | | | llvm-svn: 20148 | |||||
* | Allow globals to be of different const'nesses when we link. | Chris Lattner | 2005-02-12 | 1 | -8/+2 | |
| | | | | | | | This finally resolves PR502, PR450, and test/Regression/Linker/2005-02-12-ConstantGlobals{,-2}.ll correctly llvm-svn: 20135 | |||||
* | Remove un-needed #includes. | Reid Spencer | 2004-12-20 | 1 | -3/+1 | |
| | | | | llvm-svn: 19061 | |||||
* | Fix a compile error. config.h is now needed because DataTypes.h doesn't | Reid Spencer | 2004-12-16 | 1 | -0/+1 | |
| | | | | | | include it any more. llvm-svn: 18993 | |||||
* | * Fix header block. | Reid Spencer | 2004-12-13 | 1 | -8/+8 | |
| | | | | | | | | * Fix loop style per standards * Don't create a new Module when the Linker's module is released. * Add/fix function comments. llvm-svn: 18871 | |||||
* | Add missing space in a comment. | Reid Spencer | 2004-12-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 18870 | |||||
* | Fix header and function comments. | Reid Spencer | 2004-12-13 | 1 | -14/+6 | |
| | | | | llvm-svn: 18867 | |||||
* | This file contains basic Linker facilities needed by all tools | Reid Spencer | 2004-12-13 | 1 | -0/+166 | |
| | | | | llvm-svn: 18860 | |||||
* | Make LinkModules a static member function | Reid Spencer | 2004-12-13 | 1 | -1/+2 | |
| | | | | llvm-svn: 18859 | |||||
* | This file contains only the Linker's library linking support | Reid Spencer | 2004-12-13 | 1 | -0/+70 | |
| | | | | llvm-svn: 18858 | |||||
* | For PR351: \ | Reid Spencer | 2004-12-13 | 1 | -122/+12 | |
| | | | | | | | | * Remove redundant static function LinkOneLibrary. \ * Remove unneded #includes \ * Convert FileSupport usage to sys::Path instead llvm-svn: 18857 | |||||
* | This file contains only the Linker's file linking support | Reid Spencer | 2004-12-13 | 1 | -0/+89 | |
| | | | | llvm-svn: 18856 | |||||
* | For PR351: \ | Reid Spencer | 2004-12-13 | 1 | -284/+32 | |
| | | | | | | | | | * Convert functions to Linker:: methods. \ * Remove unneeded #includes \ * Utilize sys::Path utilities not FileSupport utilities \ * Move File & Library linking functions to other source files llvm-svn: 18855 | |||||
* | Make sure to link the target-triple as well, so it ends up in the .llvm.bc file | Chris Lattner | 2004-12-10 | 1 | -1/+6 | |
| | | | | llvm-svn: 18774 | |||||
* | Turn this error back into a warning, fixing the povray regression | Chris Lattner | 2004-12-08 | 1 | -2/+2 | |
| | | | | llvm-svn: 18655 | |||||
* | Revert this disgusting hack, John has a much nicer solution | Chris Lattner | 2004-12-08 | 1 | -23/+0 | |
| | | | | llvm-svn: 18611 | |||||
* | Add a disgusting hack to work around a libstdc++ issue. This code should | Chris Lattner | 2004-12-08 | 1 | -0/+23 | |
| | | | | | | be removed when PR400 is resolved. llvm-svn: 18610 | |||||
* | Fix PR139: \ | Reid Spencer | 2004-12-05 | 1 | -0/+159 | |
| | | | | | | Implement LinkItems and BuildLinkItems interfaces. llvm-svn: 18547 | |||||
* | Fix linkage of mismatched weak globals. This unbreaks 300.twolf | Chris Lattner | 2004-12-04 | 1 | -0/+2 | |
| | | | | llvm-svn: 18494 | |||||
* | Significantly rework linker support for global variables, allowing it to | Chris Lattner | 2004-12-03 | 1 | -84/+101 | |
| | | | | | | | | | correctly link globals whose LLVM types do not match. This fixes several of the F2C SPEC FP benchmarks, which were failing this due to the implementation of common blocks used by f2c. llvm-svn: 18465 | |||||
* | PR466: | Reid Spencer | 2004-12-02 | 1 | -41/+54 | |
| | | | | | | | | | | | | | | | | * Make the linker find lib*.bca files now instead of lib*.bc since those are what the makefiles now generate for bytecode archives. * Make sure the linker only links archives when LinkLibraries is called. Previously if it found a lib*.bc file and that file was a bytecode file, it would link in the entire bytecode. This could make -lc -lc fail with duplicate symbols error but it shouldn't as searching multiple libraries, even the same one more than once, is permitted. * Now that the above problems are corrected, implement the dependent libs feature. After the module is linked with all specified libraries, the LinkLibraries function will obtain the set of dependent libraries from the linked modules and attemp to find and link against those libraries. llvm-svn: 18428 | |||||
* | Revert version 1.39. It breaks the ordering of the library processing. | Reid Spencer | 2004-11-30 | 1 | -8/+1 | |
| | | | | llvm-svn: 18399 | |||||
* | Shared library extension is now in LTDL_SHLIB_EXT | Reid Spencer | 2004-11-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 18353 | |||||
* | Implement dependent library linking. It is no longer required that -lstdc++ | Reid Spencer | 2004-11-25 | 1 | -1/+8 | |
| | | | | | | | -lstdsup++ no -lc be passed on the command line to llvm linkers if the progam being linked was compiled with the C/C++ Front End or Stacker. llvm-svn: 18243 | |||||
* | Remove blank comment lines for uniformity. | Reid Spencer | 2004-11-25 | 1 | -25/+2 | |
| | | | | | | Make sure lines don't exceed 80 cols. llvm-svn: 18242 | |||||
* | Eliminate unsightly ;; | Reid Spencer | 2004-11-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 17979 | |||||
* | Reduce the amount of work in LinkInArchive by not searching the archive for | Reid Spencer | 2004-11-19 | 1 | -10/+36 | |
| | | | | | | symbols it has already identified as not defining. llvm-svn: 17975 | |||||
* | Don't increment a dead iterator | Chris Lattner | 2004-11-16 | 1 | -3/+2 | |
| | | | | llvm-svn: 17904 | |||||
* | Simplify the remapper by only needing one map, since the body of the functions | Chris Lattner | 2004-11-16 | 1 | -43/+31 | |
| | | | | | | being linked do not need to be remapped any longer. llvm-svn: 17900 | |||||
* | Take advantage of the fact that we are allowed to clobber the input module | Chris Lattner | 2004-11-16 | 1 | -26/+8 | |
| | | | | | | | | | | | | | | by splicing function bodies from the src module to the destination module. This speeds up linking quite a bit, e.g. gccld time on 176.gcc from 26s -> 20s when forming the .rbc file, with a profile build. One of the really strange but cool effects of this patch is that it speeds up the optimizers as well, from 12s -> 10.7s, presumably because of better locality??? In any case, this is just a first step. We can trivially get rid of the LocalMap now and do other simplifications. llvm-svn: 17893 | |||||
* | Per code review:\ | Reid Spencer | 2004-11-16 | 1 | -11/+13 | |
| | | | | | | | * Adjust indentation\ * Ensure memory do not leak if exceptions happen (std::auto_ptr use) llvm-svn: 17885 | |||||
* | The second arg may be clobbered by this function | Chris Lattner | 2004-11-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 17880 | |||||
* | use an autoptr | Chris Lattner | 2004-11-16 | 1 | -7/+3 | |
| | | | | llvm-svn: 17875 | |||||
* | Remove a forgotten debug output line. | Reid Spencer | 2004-11-14 | 1 | -1/+0 | |
| | | | | llvm-svn: 17810 | |||||
* | Linker.h moved to include/llvm from include/llvm/Support. | Reid Spencer | 2004-11-14 | 1 | -2/+1 | |
| | | | | llvm-svn: 17807 | |||||
* | Linker.h has a new home. | Reid Spencer | 2004-11-14 | 1 | -1/+0 | |
| | | | | llvm-svn: 17801 | |||||
* | Don't bother with a re-linked library, ensure archive library is built. | Reid Spencer | 2004-11-14 | 1 | -0/+2 | |
| | | | | llvm-svn: 17773 | |||||
* | *Adjust prototypes for public interface. *Rewrite LinkInArchive to use ↵ | Reid Spencer | 2004-11-14 | 1 | -65/+41 | |
| | | | | | | symbol tables. llvm-svn: 17772 | |||||
* | Makefile for lib/Linker | Reid Spencer | 2004-11-12 | 1 | -0/+13 | |
| | | | | llvm-svn: 17695 | |||||
* | This file originated in lib/VMCore/Linker.cpp but now lives in | Reid Spencer | 2004-11-12 | 1 | -0/+956 | |
| | | | | | | lib/Linker/LinkModules.cpp llvm-svn: 17694 | |||||
* | This file originated in tools/gccld/Linker.cpp but now lives in | Reid Spencer | 2004-11-12 | 1 | -0/+422 | |
lib/Linker/LinkArchives.cpp llvm-svn: 17693 |