History log of /external/llvm/lib/Linker/LinkArchives.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
603d6b56a2b72358e7b599aab743beb44823d76c 23-Jan-2012 Rafael Espindola <rafael.espindola@gmail.com> The iteration order over a std::set<Module*> depends on the addresses of the
modules. Avoid that to make the order the linker sees the modules deterministic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148676 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
9421406aada374f79ce2f8e576824463f7830981 23-Dec-2011 Dylan Noblesmith <nobled@dreamwidth.org> drop unneeded config.h includes



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147197 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
f0356fe140af1a30587b9a86bcfb1b2c51b8ce20 27-Jan-2010 Jeffrey Yasskin <jyasskin@google.com> Kill ModuleProvider and ghost linkage by inverting the relationship between
Modules and ModuleProviders. Because the "ModuleProvider" simply materializes
GlobalValues now, and doesn't provide modules, it's renamed to
"GVMaterializer". Code that used to need a ModuleProvider to materialize
Functions can now materialize the Functions directly. Functions no longer use a
magic linkage to record that they're materializable; they simply ask the
GVMaterializer.

Because the C ABI must never change, we can't remove LLVMModuleProviderRef or
the functions that refer to it. Instead, because Module now exposes the same
functionality ModuleProvider used to, we store a Module* in any
LLVMModuleProviderRef and translate in the wrapper methods. The bindings to
other languages still use the ModuleProvider concept. It would probably be
worth some time to update them to follow the C++ more closely, but I don't
intend to do it.

Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
570a0b8d74b6b4044622f0536ca1152f28ce389b 09-Nov-2009 Chris Lattner <sabre@nondot.org> random tidy



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86511 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
74382b7c699120fbec5cb5603c9cf4212eb37f06 24-Aug-2009 Chris Lattner <sabre@nondot.org> Prune #includes from llvm/Linker.h and llvm/System/Path.h,
forcing them down into various .cpp files.

This change also:
1. Renames TimeValue::toString() and Path::toString() to ::str()
for similarity with the STL.
2. Removes all stream insertion support for sys::Path, forcing
clients to call .str().
3. Removes a use of Config/alloca.h from bugpoint, using smallvector
instead.
4. Weans llvm-db off <iostream>

sys::Path really needs to be gutted, but I don't have the desire to
do it at this point.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79869 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
8b477ed579794ba6d76915d56b3f448a7dd20120 01-Jul-2009 Owen Anderson <resistor@mac.com> Add a pointer to the owning LLVMContext to Module. This requires threading 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
bb46f52027416598a662dc1c58f48d9d56b1a65b 15-Jan-2009 Rafael Espindola <rafael.espindola@gmail.com> Add the private linkage.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62279 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
7fcb6b65c97f6e2e96643967fca735df528dab8e 11-Mar-2008 Anton Korobeynikov <asl@math.spbu.ru> Fix thinko: alias always defines new symbol. Even is aliasee itself is undefined.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48203 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
eba04156009222b7b3dad3cd51c8810cc6a2ac40 04-Mar-2008 Anton Korobeynikov <asl@math.spbu.ru> Properly populate lists of defined/undefined symbols in presence of aliases


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47900 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
4ee451de366474b9c228b4e5fa573795a715216d 29-Dec-2007 Chris Lattner <sabre@nondot.org> Remove attribution from file headers, per discussion on llvmdev.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
858dd546bb48542f4568cd8f5530388a7b9a3d62 22-Jul-2007 Reid Spencer <rspencer@reidspencer.com> Report an error if one occurs in releaseModule.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40405 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
a99be51bf5cdac1438069d4b01766c47704961c8 05-Jul-2007 Gabor Greif <ggreif@gmail.com> Here is the bulk of the sanitizing.
Almost all occurrences of "bytecode" in the sources have been eliminated.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
4bcca0f2ac85c918fc8617e34b7642e5e5233460 06-May-2007 Chris Lattner <sabre@nondot.org> switch this to bitcode instead of bytecode


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36867 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
1a019e5ffd0d8643ddffc7ed5736eb78065c5f88 06-May-2007 Chris Lattner <sabre@nondot.org> add bitcode support


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36855 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
c9a83e4f19519e19469efa0ed39d81ed60b94401 30-Apr-2007 Reid Spencer <rspencer@reidspencer.com> If an archive is not recognized as an LLVM bytecode archive then declare
that it is native so that the linker will pass it on downstream. This avoids
a problem where the native link line fails because there is both a .so and
a .a file. The .a file gets processed as bytecode and then dropped from the
command line.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36584 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
688b0490e22eb67623f5aaa24406209be74efcb2 05-Feb-2007 Reid Spencer <rspencer@reidspencer.com> For PR411:
Adjust to changes in Module interface:
getMainFunction() -> getFunction("main")
getNamedFunction(X) -> getFunction(X)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33922 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
5cbf985dcbc89fba3208e7baf8b6f488b06d3ec9 30-Jan-2007 Reid Spencer <rspencer@reidspencer.com> For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoid
confusion with external linkage types.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33663 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
0288d18bb68b3072c9d5f08a0c5b45041f900baa 11-Nov-2006 Reid Spencer <rspencer@reidspencer.com> Remvoe a do-nothing else block.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31687 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
4952143236afe43b974798c45ed265bb175c9d7f 11-Nov-2006 Reid Spencer <rspencer@reidspencer.com> For PR998:
Fix an infinite loop in the Linker and a few other assorted link problems.

Patch contributed by Scott Michel. Thanks, Scott!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31680 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
3ed469ccd7b028a030b550d84b7336d146f5d8fa 02-Nov-2006 Reid Spencer <rspencer@reidspencer.com> For PR786:
Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting
fall out by removing unused variables. Remaining warnings have to do with
unused functions (I didn't want to delete code without review) and unused
variables in generated code. Maintainers should clean up the remaining
issues when they see them. All changes pass DejaGnu tests and Olden.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31380 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
b74ed07bfd3af42331b1964c24c39912610a08f4 14-Sep-2006 Anton Korobeynikov <asl@math.spbu.ru> Adding dllimport, dllexport and external weak linkage types.
DLL* linkages got full (I hope) codegeneration support in C & both x86
assembler backends.
External weak linkage added for future use, we don't provide any
codegeneration, etc. support for it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30374 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
8d8a7ffe580c622e7e43f1426bca64e517de0d06 07-Jul-2006 Reid Spencer <rspencer@reidspencer.com> Finish removal of EH usage from the Archive library. The REQUIRES_EH flag
in lib/Bytecode/Archive/Makefile is now removed. One small step closer to
a smaller LLVM.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29067 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
f976c856fcc5055f3fc7d9f070d72c2d027c1d9d 22-Apr-2005 Misha Brukman <brukman+llvm@gmail.com> Remove trailing whitespace


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21422 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
c72e57314a0ca7fe35ad45ce86bf074addf79883 16-Mar-2005 Chris Lattner <sabre@nondot.org> fix some 80 column violations
Add support for programs that define main in a .a file, such as f2c'd programs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20631 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
e4d5c441e04bdc00ccf1804744af670655123b07 15-Mar-2005 Chris Lattner <sabre@nondot.org> This mega patch converts us from using Function::a{iterator|begin|end} to
using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*.

This patch is contributed by Gabor Greif, thanks!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20597 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
12945acd4aa40b40b1517bcf785622ab9671893f 13-Feb-2005 Chris Lattner <sabre@nondot.org> Minor cleanup. No need to explicitly tell the compiler the template arguments.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20153 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
50c301b9bbf80c00d26e49129a2a5d02132b9b2b 13-Feb-2005 Chris Lattner <sabre@nondot.org> Print something useful for gccld -v with an archive.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20148 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
4ca8e710681cd932775ef2f10af81a018b253770 20-Dec-2004 Reid Spencer <rspencer@reidspencer.com> Remove un-needed #includes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19061 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
7dde0e3b056e1fadf25c4ef208bd2cdcb6b06de0 13-Dec-2004 Reid Spencer <rspencer@reidspencer.com> For PR351: \
* Convert functions to Linker:: methods. \
* Remove unneeded #includes \
* Utilize sys::Path utilities not FileSupport utilities \
* Move File & Library linking functions to other source files


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18855 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
be0b356593c5d87c93e83250a99878878fc62c31 02-Dec-2004 Reid Spencer <rspencer@reidspencer.com> PR466:
* 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
0022b834914ba49d11a43c0c06c47edfdc59524f 30-Nov-2004 Reid Spencer <rspencer@reidspencer.com> Revert version 1.39. It breaks the ordering of the library processing.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18399 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
a564845f838cb9e56e6df5106ad57d91552e6568 29-Nov-2004 Reid Spencer <rspencer@reidspencer.com> Shared library extension is now in LTDL_SHLIB_EXT


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18353 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
53c4c5672c2db81a2d85fcf4e8d95028fc0d535d 25-Nov-2004 Reid Spencer <rspencer@reidspencer.com> Implement dependent library linking. It is no longer required that -lstdc++
-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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18243 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
b9371ce55251da034ac5afad2bc33d9b8f8ff9b4 19-Nov-2004 Reid Spencer <rspencer@reidspencer.com> Eliminate unsightly ;;


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17979 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
3cf2c32202c9bccfa3005c5b1edcecc69dd64598 19-Nov-2004 Reid Spencer <rspencer@reidspencer.com> Reduce the amount of work in LinkInArchive by not searching the archive for
symbols it has already identified as not defining.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17975 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
99d3604acf7eaa2ce11b29fc5a005047148cc9d9 16-Nov-2004 Reid Spencer <rspencer@reidspencer.com> Per code review:\
* Adjust indentation\
* Ensure memory do not leak if exceptions happen (std::auto_ptr use)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17885 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
a4d0c6fb94003609d1e00a96887c9db12d6f1936 16-Nov-2004 Chris Lattner <sabre@nondot.org> use an autoptr


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17875 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
6238a85e4f6931a9572e5d327c3ffa7ce1087d50 15-Nov-2004 Reid Spencer <rspencer@reidspencer.com> Remove a forgotten debug output line.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17810 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
605b9e2c5bd1b0c151a0b15d01e6df3aba93d52f 15-Nov-2004 Reid Spencer <rspencer@reidspencer.com> Linker.h has a new home.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
8bbb17abe6c85d86e86a4f55265875ab9a4524a7 14-Nov-2004 Reid Spencer <rspencer@reidspencer.com> *Adjust prototypes for public interface. *Rewrite LinkInArchive to use symbol tables.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17772 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
c408c45900dfcf469631dcde2abc9a893f42249c 12-Nov-2004 Reid Spencer <rspencer@reidspencer.com> This file originated in tools/gccld/Linker.cpp but now lives in
lib/Linker/LinkArchives.cpp


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17693 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
669b52439916645b37d01c360c35d86b46617743 09-Nov-2004 Misha Brukman <brukman+llvm@gmail.com> Output the program name (in this case, gccld) with warning about invalid files


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17638 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
eda20f933b85472573bde54550e1ffef66aecfa7 08-Nov-2004 Misha Brukman <brukman+llvm@gmail.com> Don't silently ignore invalid files: tell the user!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17633 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
551ccae044b0ff658fe629dd67edd5ffe75d10e8 02-Sep-2004 Reid Spencer <rspencer@reidspencer.com> Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
008248f2c098f7680b5b393d6e3006cd7d974b77 23-Jun-2004 Misha Brukman <brukman+llvm@gmail.com> Linker.h moved to include/llvm/Support


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14351 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
0ebee7410f2b826d624fa81acb8c2e4e09c491ab 02-Jun-2004 Chris Lattner <sabre@nondot.org> Move some functions out of gccld.cpp to GenerateCode.cpp. This allows us
to reduce the inter-file interface in the gccld tool and gets some
uninteresting code out of gccld.cpp.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13942 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
bed85ff010b95923646ed4e187a5d432cedf67da 27-May-2004 Chris Lattner <sabre@nondot.org> Header file moved


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13813 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
7a46e4c62b0c8bf62b278d8c279440b220e52307 15-Apr-2004 Misha Brukman <brukman+llvm@gmail.com> Don't use invalid HTML in a doxygen comment.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12962 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
c38aa6dd7952cbc0d890387a8e728412711d9044 23-Feb-2004 Alkis Evlogimenos <alkis@evlogimenos.com> Include Config/config.h for SHLIBEXT.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
7f7d16b62f9789c378a489a65ad51d50687c4c36 26-Jan-2004 John Criswell <criswell@uiuc.edu> Fixes for PR214. Use the SHLIBEXT variable instead of hardcoding .so into
every file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10976 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
368751f2b721c09f827d73b929ab87969514cc07 23-Dec-2003 John Criswell <criswell@uiuc.edu> Modified the logic so that library objects with main() are only linked in
if the program currently has main undefined.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10597 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
1715ce00e424afcc03eea25edec441ae14392304 23-Dec-2003 John Criswell <criswell@uiuc.edu> Modified the linker so that it always links in an object from an archive
that defines the symbol "main." This is a hack that ensures that programs
that place their main function in a library and then link it in
(i.e. Apache 2.x) get their main function linked in.

There is probably a more correct way to do this, but this works for now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10594 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
6cc8ca92291c8b18d8aa88d43c50dd25d0740ca4 28-Nov-2003 Chris Lattner <sabre@nondot.org> * The return value of LinkLibraries is ignored, so remove it.
* Finegrainify namespacification of Linker.cpp
* If linking a library in fails, do not STOP LINKING IN LIBRARIES AND
CONTINUE ANYWAY! Instead, just output the warning, and keep going. :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10249 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
84fbc653ce78919196acea9bed9bb7288d461ee7 20-Nov-2003 Misha Brukman <brukman+llvm@gmail.com> Add ability to search only for native shared object, and expose the
functionality to the rest of gccld.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10113 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
2282ae1ebdd58541f73b4482e51bce7f67c5b4ee 17-Nov-2003 Brian Gaeke <gaeke@uiuc.edu> When we find a module we want, in an archive, in verbose mode,
print out the module's identifier (which should now contain the name
of both the archive and the module.)
Wrap some lines at 80 cols.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10039 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
d0fde30ce850b78371fd1386338350591f9ff494 11-Nov-2003 Brian Gaeke <gaeke@uiuc.edu> Put all LLVM code into the llvm namespace, as per bug 109.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
0d723acf15b0326e2df09ecb614b02a617f536e4 11-Nov-2003 Brian Gaeke <gaeke@uiuc.edu> Move IsArchive, IsBytecode to FileUtilities. Fix up some method comments.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9902 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
ee8adb1955fde8d8e9f36b07b2d7f3f15314d051 11-Nov-2003 Brian Gaeke <gaeke@uiuc.edu> This version of Linker.cpp works a lot better, but it's a little messy. Sorry.

Use FileOpenable() instead of FileExists().
Create IsBytecode() predicate -- like IsArchive(), but for bytecode files.
Use IsBytecode() before trying to load any file as a bytecode file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9893 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
3b3640a3733c6ecdba4a8ca2ca9d28a6ce957769 05-Nov-2003 Brian Gaeke <gaeke@uiuc.edu> Shorten and correct some function-header comments.

Make "verbose" output MUCH nicer. Now it tells you when you are linking a
bytecode file, or an archive, and whether it's because you called it by name,
or because you gave it a -l option, and it says "Trying" before it takes
action and prints a message in the past tense afterwards.

Make LinkFiles not skip the first file in Files.

Make LinkFiles warn you if it can't find a file and LLVM_LIB_SEARCH_PATH is
unset.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
f1fce0881f90e8ec6a47703cbc90db5feebaef7a 21-Oct-2003 Brian Gaeke <gaeke@uiuc.edu> Fix off-by-one error in processing of libraries named on command line.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9351 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
1dd27b157bbe7d9e44fa72abbc8b0f08eba804ec 20-Oct-2003 Chris Lattner <sabre@nondot.org> fix file header


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
7c0e022c5c4be4b11e199a53f73bbdd84e34aa80 20-Oct-2003 John Criswell <criswell@uiuc.edu> Added copyright header to all C++ source files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9291 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
82a036fd192ac71b1326f6a4e67cef5c0514f476 10-Oct-2003 Brian Gaeke <gaeke@uiuc.edu> Don't include "Config/stdlib.h".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9037 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
608e75c604a0454f51d514e23b3d70254b832a10 08-Oct-2003 Brian Gaeke <gaeke@uiuc.edu> Make more error messages have gccld's name in them.
Add a newline after "Cannot find <library>".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8968 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
5208ba1292efae29b37e8f268a07802493e3e8b7 30-Sep-2003 Misha Brukman <brukman+llvm@gmail.com> Doxygen-ified comments.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8778 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
61087cc023128946e50deeb544f88c78ea96fda7 30-Sep-2003 Misha Brukman <brukman+llvm@gmail.com> Made code more terse:
* Deleted empty comment lines
* No single begin-braces '{' on a line by themselves


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8773 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
e98ddfce7edbcdcce0e60d4162da1306228c3f4a 30-Sep-2003 Brian Gaeke <gaeke@uiuc.edu> 1. Use better error messages in LinkFiles().
2. I think the caller of LinkFiles() should not ignore a true return value.
(If you have a good reason why it ought to, feel free to revert
this. It's just something that's been bugging me for a while.)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8760 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
a58d2be76f90aaeeccd89e9794ccd053f370cf8e 30-Sep-2003 Chris Lattner <sabre@nondot.org> Update file headers for renamed files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8758 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
e676313966c3ede37644dbf2e49aa06f0c8b242a 30-Sep-2003 Misha Brukman <brukman+llvm@gmail.com> Tersified code:
* Removed space between function name and its argument list
* Removed space between '&' and variable name
* Removed empty comment lines: `//'


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8750 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
17dc4ce5a7a6b383a06a86756f5fc20565984e73 30-Sep-2003 Misha Brukman <brukman+llvm@gmail.com> * Ordered includes according to LLVM programmers' guide
* Made code layout more verbose: no more '{' on a line by itself
* Pruned extra whitespace


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8748 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp
71478b7f72399d48469b7508fba4dea9bf696c98 19-Sep-2003 John Criswell <criswell@uiuc.edu> Removed linking functionality from gccld.cpp and moved it to linker.cpp.
Renamed functions that were all lower-case.
Moved functions from util.cpp into linker.cpp or gccld.cpp.
Removed util.h and created gccld.h.
Refactored the linker functionality in linker.cpp so that it is easier to
follow, easier to modify, and it's library/object file search behavior is
easier to understand and document.
Added code to include library paths when doing native linking, but this
causes problems and is currently #ifdef'd out.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8609 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Linker/LinkArchives.cpp