aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-ld/llvm-ld.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove trailing whitespaceMisha Brukman2005-04-221-20/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21428 91177308-0d34-0410-b5e6-96231b3b80d8
* The first argument to ExecuteAndWait should be the program name, but pointedChris Lattner2005-04-101-9/+12
| | | | | | | out by Markus F.X.J. Oberhumer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21211 91177308-0d34-0410-b5e6-96231b3b80d8
* Conform to the documented interface by null terminating argument lists!Chris Lattner2005-02-131-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20167 91177308-0d34-0410-b5e6-96231b3b80d8
* Use binary mode for reading/writing bytecode filesJeff Cohen2005-01-221-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19751 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-301-117/+124
| | | | | | | | | | | * Place a try/catch block around the entire tool to Make sure std::string exceptions are caught and printed before exiting the tool. * Make sure we catch unhandled exceptions at the top level so that we don't abort with a useless message but indicate than an unhandled exception was generated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19192 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct compilation for Cygwin. FindExecutable now returns a sys::Path.Reid Spencer2004-12-221-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19109 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the Win32 buildMisha Brukman2004-12-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19088 91177308-0d34-0410-b5e6-96231b3b80d8
* Make parameters to CopyFile use explicit instantiation of sys::Path.Reid Spencer2004-12-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19086 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-191-14/+16
| | | | | | | * Support changes in sys::Program::ExecuteAndWait interface git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19044 91177308-0d34-0410-b5e6-96231b3b80d8
* sys::CopyFile returns void and throws an exception on error which will beReid Spencer2004-12-181-4/+1
| | | | | | | caught by llvm-ld's main function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19030 91177308-0d34-0410-b5e6-96231b3b80d8
* The CopyFile function got moved into the sys namespace.Reid Spencer2004-12-181-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19026 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-161-10/+13
| | | | | | | | | | | | * removeFile() -> sys::Path::destroyFile() * remove extraneous toString() calls * convert local variables representing path names from std::string to sys::Path * Use sys::Path objects with FileRemove instead of std::string * Use sys::Path methods for construction of path names git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19001 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-141-67/+40
| | | | | | | | * Change ExecWait calls to sys::Program::ExecuteAndWait * Convert to use sys::Path where it makes sense git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18929 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-131-4/+5
| | | | | | | Adjust to interface change for FindExecutable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18920 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-131-3/+3
| | | | | | | | Replace MakeFileReadable and MakeFileExecutable (from FileUtilities) with sys::Path::makeReadable and sys::Path:makeExecutable, respectively. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18909 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the loop termination condition clear when building the set of items toReid Spencer2004-12-131-3/+1
| | | | | | | pass to the Linker::LinkInItems function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18894 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert to use new Linker class interfaceReid Spencer2004-12-131-19/+57
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18864 91177308-0d34-0410-b5e6-96231b3b80d8
* When -link-as-library, add -l options to Module's deplibsReid Spencer2004-12-081-1/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18617 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR139:\Reid Spencer2004-12-051-19/+20
| | | | | | | | When not linking as a library, use LinkItems to retain command line order of \ linking, otherwise use LinkFiles git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18549 91177308-0d34-0410-b5e6-96231b3b80d8
* Incorporate GenerateCode.cpp. Make static things static.Reid Spencer2004-11-201-110/+297
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18048 91177308-0d34-0410-b5e6-96231b3b80d8
* Linker.h has a new home.Reid Spencer2004-11-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17801 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix usage of changed function prototypeReid Spencer2004-11-141-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17798 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some missing #includesReid Spencer2004-09-251-4/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16517 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial implementation of llvm-ld: stolen from gccld.Reid Spencer2004-09-131-0/+303
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16305 91177308-0d34-0410-b5e6-96231b3b80d8