diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-05-23 20:27:07 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-05-23 20:27:07 +0000 |
commit | 69a79600cb782c18715c4cf1cbb7ed5b0df799c1 (patch) | |
tree | 81dc848114c5ba654735c831dbae07d3a85cc199 /utils/TableGen/TableGen.cpp | |
parent | 02ec5ede6cf10163086a27241508fc5778e39737 (diff) |
gccld.cpp:
Fix typo in header.
Add IsArchive static method.
Roll LoadLibraryFromDirectory() into LoadLibrary(), and factor
LoadLibraryExactName() out of the result. Instead of treating the current
directory specially, just insert it into LibPaths in the beginning of
main().
Make LoadLibrary() take a "search" flag that says whether to search for the
correct library, or just trust that LibName is right.
Make LinkLibrary() take a "search" flag, and pass it to LoadLibrary().
Change the for-loop over InputFilenames to detect ar archives and link them
in as libraries without searching.
Change the for-loop over Libraries to explicitly turn on the "search" flag
to LinkLibrary() that makes LoadLibrary() search for the correct library
(i.e., when processing -lNAME options.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6316 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/TableGen.cpp')
0 files changed, 0 insertions, 0 deletions