summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/LinkArchives.cpp
Commit message (Collapse)AuthorAgeFilesLines
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-151-2/+2
| | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597
* Minor cleanup. No need to explicitly tell the compiler the template arguments.Chris Lattner2005-02-131-3/+2
| | | | llvm-svn: 20153
* Print something useful for gccld -v with an archive.Chris Lattner2005-02-131-0/+2
| | | | llvm-svn: 20148
* Remove un-needed #includes.Reid Spencer2004-12-201-3/+1
| | | | llvm-svn: 19061
* For PR351: \Reid Spencer2004-12-131-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
* PR466:Reid Spencer2004-12-021-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 Spencer2004-11-301-8/+1
| | | | llvm-svn: 18399
* Shared library extension is now in LTDL_SHLIB_EXTReid Spencer2004-11-291-2/+2
| | | | llvm-svn: 18353
* Implement dependent library linking. It is no longer required that -lstdc++Reid Spencer2004-11-251-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
* Eliminate unsightly ;;Reid Spencer2004-11-191-1/+1
| | | | llvm-svn: 17979
* Reduce the amount of work in LinkInArchive by not searching the archive forReid Spencer2004-11-191-10/+36
| | | | | | symbols it has already identified as not defining. llvm-svn: 17975
* Per code review:\Reid Spencer2004-11-161-11/+13
| | | | | | | * Adjust indentation\ * Ensure memory do not leak if exceptions happen (std::auto_ptr use) llvm-svn: 17885
* use an autoptrChris Lattner2004-11-161-7/+3
| | | | llvm-svn: 17875
* Remove a forgotten debug output line.Reid Spencer2004-11-141-1/+0
| | | | llvm-svn: 17810
* Linker.h has a new home.Reid Spencer2004-11-141-1/+0
| | | | llvm-svn: 17801
* *Adjust prototypes for public interface. *Rewrite LinkInArchive to use ↵Reid Spencer2004-11-141-65/+41
| | | | | | symbol tables. llvm-svn: 17772
* This file originated in tools/gccld/Linker.cpp but now lives inReid Spencer2004-11-121-0/+422
lib/Linker/LinkArchives.cpp llvm-svn: 17693
OpenPOWER on IntegriCloud