summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/LinkItems.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Emit an error when a library is not found. It is the GNU ld behavior and it ↵Lauro Ramos Venancio2008-02-271-1/+1
| | | | | | is expected by the configure scripts. llvm-svn: 47674
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Improve error handling in the linker by:Reid Spencer2007-08-161-6/+6
| | | | | | | | | | | | | 1. Eliminate redundant error messages. LinkInFile and LinkInArchive already call the error() method in each case so there's no use telling the user again that an item couldn't be linked in. 2. Improve the formatting of error messages (separating content). 3. Change the wording for the warning about unrecognized files. Make it clear that the file is being ignored. llvm-svn: 41121
* Ensure that error messages a propagated from calls to LinkInModule so they getReid Spencer2007-08-161-3/+4
| | | | | | reported to the end user. llvm-svn: 41117
* Allow the filename "-" to be a place holder for stdin. This allows directingReid Spencer2007-08-081-0/+16
| | | | | | stdin through llvm-ld and llvm-link. llvm-svn: 40938
* eliminate residual cruft related to recognizing bytecodeGabor Greif2007-07-061-5/+1
| | | | | | | files. bitcode files are the only LLVM format left. llvm-svn: 37945
* Here is the bulk of the sanitizing.Gabor Greif2007-07-051-8/+8
| | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913
* add bitcode supportChris Lattner2007-05-061-0/+2
| | | | llvm-svn: 36855
* If an archive is not recognized as an LLVM bytecode archive then declareReid Spencer2007-04-301-2/+2
| | | | | | | | | 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. llvm-svn: 36584
* Dependent libraries could be native too.Reid Spencer2007-04-301-1/+4
| | | | llvm-svn: 36582
* For PR1146:Reid Spencer2007-04-111-4/+12
| | | | | | | Put the parameter attributes in their own ParamAttr name space. Adjust the rest of llvm as a result. llvm-svn: 35877
* For PR1302:Reid Spencer2007-04-041-8/+8
| | | | | | | Use local variable names that match the function parameter name that it is passed to so the code is more clear, to wit: is_bytecode -> is_native llvm-svn: 35656
* For PR1302:Reid Spencer2007-04-041-31/+61
| | | | | | | Implement file tests for both LinkInLibrary and LinkInFile to determine if the file is native. Don't generate warnings if the file is native. llvm-svn: 35653
* For PR998:Reid Spencer2006-11-111-6/+7
| | | | | | | | Fix an infinite loop in the Linker and a few other assorted link problems. Patch contributed by Scott Michel. Thanks, Scott! llvm-svn: 31680
* For PR521:Reid Spencer2006-01-101-19/+37
| | | | | | | | | With these patches we implement the ability for the Linker library to keep track of which libraries were actually bytecode files (not archives) and cause their users to remove such files from the list of libraries to pass to the native linker. llvm-svn: 25169
* For PR495:Reid Spencer2005-07-071-1/+1
| | | | | | | | | | | Change interface to Path class: readable -> canRead writable -> canWrite executable -> canExecute More (incremental) changes coming to close 495. llvm-svn: 22345
* Remove trailing whitespaceMisha Brukman2005-04-211-9/+9
| | | | llvm-svn: 21422
* consolidate LinkFiles into LinkItems, use lib_* iterators.Chris Lattner2005-03-151-4/+61
| | | | llvm-svn: 20630
* consolidate LinkLibraries into LinkItemsChris Lattner2005-03-151-0/+57
| | | | llvm-svn: 20629
* For PR351: \Reid Spencer2004-12-131-122/+12
| | | | | | | | * Remove redundant static function LinkOneLibrary. \ * Remove unneded #includes \ * Convert FileSupport usage to sys::Path instead llvm-svn: 18857
* Turn this error back into a warning, fixing the povray regressionChris Lattner2004-12-081-2/+2
| | | | llvm-svn: 18655
* Fix PR139: \Reid Spencer2004-12-051-0/+159
Implement LinkItems and BuildLinkItems interfaces. llvm-svn: 18547
OpenPOWER on IntegriCloud