aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Add LLVMbzip2 library, now required.Reid Spencer2004-11-2518-18/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18255 91177308-0d34-0410-b5e6-96231b3b80d8
* Always pass -D_GNU_SOURCE to cc1plusReid Spencer2004-11-251-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18253 91177308-0d34-0410-b5e6-96231b3b80d8
* Always pass -D_GNU_SOURCE to cc1Reid Spencer2004-11-251-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18252 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct the configuration variable used to find the bin directory.Reid Spencer2004-11-251-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18244 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure additional C++ suffixes are recognized by llvmc.Reid Spencer2004-11-241-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18191 91177308-0d34-0410-b5e6-96231b3b80d8
* * Adjust the options to make them either accept multiple occurrences or beReid Spencer2004-11-231-5/+22
| | | | | | | | | | optional so that compatibility with GCC is accomplished. * Implement the -print-file-name option in an attempt to provide the same functionality as GCC. Unfortunately, without loading the cpp or c config files, this option won't help much. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18189 91177308-0d34-0410-b5e6-96231b3b80d8
* * Don't pass empty arguments to ExecuteAndWait because it can cause theReid Spencer2004-11-231-41/+56
| | | | | | | | | | | | sub-tool to start reading its standard input instead of the specified input. * Clean up ouput of path names on error. * Extend GetPathForLinkageItem to always search the LibraryPaths and thus make it suitable for an interface function (required by llvmc.cpp). * Implement support for language-specific default library paths. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18188 91177308-0d34-0410-b5e6-96231b3b80d8
* Configuration data now supports a vector of library paths.Reid Spencer2004-11-231-0/+7
| | | | | | | | Add the GetPathForLinkageItem method to the interface so full paths can be generated for a given linkage item. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18187 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the c and cpp configuration files.Reid Spencer2004-11-231-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18186 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed in favor of configurable (*.in) versions.Reid Spencer2004-11-233-136/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18185 91177308-0d34-0410-b5e6-96231b3b80d8
* Make various adjustments to parsing so that the separator character doesn'tReid Spencer2004-11-231-36/+156
| | | | | | | | terminate options or paths, so that SPACE tokens legally separate options on a command line, and so that the lang.libs paths are parsed properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18184 91177308-0d34-0410-b5e6-96231b3b80d8
* SPACE is a legitimate token now, to separate option words.Reid Spencer2004-11-231-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18183 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle space, separators, bad substitutions, and library search path betterReid Spencer2004-11-231-6/+7
| | | | | | | than before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18182 91177308-0d34-0410-b5e6-96231b3b80d8
* Configurable language configuration files.Reid Spencer2004-11-234-0/+203
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18181 91177308-0d34-0410-b5e6-96231b3b80d8
* Get the -o option rightReid Spencer2004-11-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18052 91177308-0d34-0410-b5e6-96231b3b80d8
* Get the -o option rightReid Spencer2004-11-201-21/+43
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18051 91177308-0d34-0410-b5e6-96231b3b80d8
* Not needed any more.Reid Spencer2004-11-201-42/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18050 91177308-0d34-0410-b5e6-96231b3b80d8
* Content moved to llvm-ld.cppReid Spencer2004-11-201-352/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18049 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
* First cut at implementing generic link-time OptimizationReid Spencer2004-11-201-0/+194
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18047 91177308-0d34-0410-b5e6-96231b3b80d8
* The Archive class now has differentiation for BSD4.4 and SVR4 style archiveReid Spencer2004-11-201-6/+2
| | | | | | | symbol tables. Adjust our usage to compensate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18046 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug that caused stuff like this:Chris Lattner2004-11-191-1/+2
| | | | | | | | | | | | main at ./eh.cpp:1414 -> printf("a\n"); to be printed, instead of this: main at ./eh.cpp:14 14 -> printf("a\n"); git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18005 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug in the checkin where I adjusted this code to work whenChris Lattner2004-11-191-7/+8
| | | | | | | LinkModules nukes the second module argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17986 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove debugging code, unneuter this functionalityChris Lattner2004-11-181-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17963 91177308-0d34-0410-b5e6-96231b3b80d8
* remove debugging codeChris Lattner2004-11-181-5/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17962 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding option to llc for ModuloScheduling. By default it is turned off.Tanya Lattner2004-11-182-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17959 91177308-0d34-0410-b5e6-96231b3b80d8
* -disable-opt is not -O0, it's okay for it to disable internalize.Chris Lattner2004-11-172-8/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17911 91177308-0d34-0410-b5e6-96231b3b80d8
* Even with -disable-opt we should still internalize and strip if requested.Chris Lattner2004-11-161-13/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17903 91177308-0d34-0410-b5e6-96231b3b80d8
* Per code review: \Reid Spencer2004-11-161-14/+17
| | | | | | | | | | | | * Make static things static \ * Get rid of unused TmpArchive variable \ * Implement symbol table printing \ * Adjust to changes in llvm::Archive interface \ * Make sure we destruct objects even if exceptions occur. \ * Fix a typo in an output string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17878 91177308-0d34-0410-b5e6-96231b3b80d8
* Per code review: \Reid Spencer2004-11-161-113/+105
| | | | | | | | | | | | | | | | | * hide the compatibility option \ * Make static things static \ * Use cl::extrahelp instead of cl::MoreHelp (defunct) \ * Use cl::PrintHelpMessage instead of our own printUse function \ * Use a std::set<sys::Path> for the path list because its now required by \ the sys::Path class and also ensues directories are traversed in sorted \ order.\ * Implement symbol table printing locally instead of in libLLVMArchive \ * Adjust to changes in llvm::Archive interface \ * Make sure we destruct objects even if exceptions occur. \ * Fix a typo in an output string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17877 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this code not depend on LinkModules leaving the second argument unmolested.Chris Lattner2004-11-163-22/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17874 91177308-0d34-0410-b5e6-96231b3b80d8
* This file was originally developed by the LLVM research group so this ↵Tanya Lattner2004-11-151-3/+2
| | | | | | comment should stay. I also do NOT want my name explicity listed on src files. I am already mentioned in the credits. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17833 91177308-0d34-0410-b5e6-96231b3b80d8
* Linker.h moved to include/llvm.Reid Spencer2004-11-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17805 91177308-0d34-0410-b5e6-96231b3b80d8
* bugpoint needs LLVMLinker.a now.Reid Spencer2004-11-141-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17804 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct call of methods whose names have changed.Reid Spencer2004-11-141-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17803 91177308-0d34-0410-b5e6-96231b3b80d8
* This program needs libLLVMLinker.a nowReid Spencer2004-11-141-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17802 91177308-0d34-0410-b5e6-96231b3b80d8
* Linker.h has a new home.Reid Spencer2004-11-146-6/+6
| | | | 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-147-14/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17798 91177308-0d34-0410-b5e6-96231b3b80d8
* A tool for adding a symbol table to LLVM ArchivesReid Spencer2004-11-141-0/+88
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17797 91177308-0d34-0410-b5e6-96231b3b80d8
* Makefile for llvm-ranlib toolReid Spencer2004-11-141-0/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17796 91177308-0d34-0410-b5e6-96231b3b80d8
* *Fix usage of changed function prototype*Use Archive interface to symbol ↵Reid Spencer2004-11-141-4/+7
| | | | | | table for archives git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17795 91177308-0d34-0410-b5e6-96231b3b80d8
* This tool needs libLLVMArchive nowReid Spencer2004-11-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17794 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove linking declarations (in Linker.h now)Reid Spencer2004-11-141-26/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17793 91177308-0d34-0410-b5e6-96231b3b80d8
* We need the libLLVMArchive library nowReid Spencer2004-11-141-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17792 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved to lib/Linker (common with gccld)Reid Spencer2004-11-141-401/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17791 91177308-0d34-0410-b5e6-96231b3b80d8
* Total rewrite using Archive library & new functionalityReid Spencer2004-11-141-481/+635
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17790 91177308-0d34-0410-b5e6-96231b3b80d8
* This tool needs the libLLVMArchive library now.Reid Spencer2004-11-142-4/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17789 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove linking declarations (in Linker.h now)Reid Spencer2004-11-141-23/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17788 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide exception handlingReid Spencer2004-11-141-110/+124
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17787 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved to lib/LinkerReid Spencer2004-11-141-422/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17786 91177308-0d34-0410-b5e6-96231b3b80d8