summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker
Commit message (Collapse)AuthorAgeFilesLines
...
* For PR998:Reid Spencer2006-11-112-17/+31
| | | | | | | | Fix an infinite loop in the Linker and a few other assorted link problems. Patch contributed by Scott Michel. Thanks, Scott! llvm-svn: 31680
* silence warningsChris Lattner2006-11-091-2/+2
| | | | llvm-svn: 31587
* For PR786:Reid Spencer2006-11-021-14/+0
| | | | | | | | | | 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. llvm-svn: 31380
* Adding dllimport, dllexport and external weak linkage types.Anton Korobeynikov2006-09-142-13/+39
| | | | | | | | | 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. llvm-svn: 30374
* Remove a redundant syscall.Chris Lattner2006-07-281-25/+21
| | | | llvm-svn: 29405
* eliminate some ugly code, using ConstantExpr::getWithOperands instead.Chris Lattner2006-07-141-51/+4
| | | | llvm-svn: 29149
* Finish removal of EH usage from the Archive library. The REQUIRES_EH flagReid Spencer2006-07-071-1/+3
| | | | | | | in lib/Bytecode/Archive/Makefile is now removed. One small step closer to a smaller LLVM. llvm-svn: 29067
* Fix Regression/Linker/2006-06-15-GlobalVarAnment.llChris Lattner2006-06-161-5/+18
| | | | llvm-svn: 28812
* Fix linking of inline asm objects.Chris Lattner2006-06-011-5/+9
| | | | llvm-svn: 28640
* Add shufflevector supportChris Lattner2006-04-081-0/+6
| | | | llvm-svn: 27515
* Add code to RemapOperand() to handle Instruction::ExtractElement andEvan Cheng2006-04-071-0/+12
| | | | | | Instruction::InsertElement. llvm-svn: 27477
* Rename methodChris Lattner2006-01-241-4/+5
| | | | llvm-svn: 25571
* Add support for linking inline asmChris Lattner2006-01-231-0/+7
| | | | llvm-svn: 25560
* add support for ConstantPacked to the linkerChris Lattner2006-01-191-0/+5
| | | | llvm-svn: 25467
* Fixed style of curly brace. No functionality changes.John Criswell2006-01-171-2/+1
| | | | llvm-svn: 25414
* 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
* Be a little more explanatory in a comment.Reid Spencer2006-01-101-1/+1
| | | | llvm-svn: 25168
* Adjust the constructor to the Linker class to take an argument that namesReid Spencer2005-12-131-2/+2
| | | | | | | | the module being constructed. This is used to correctly name the module. Previously the name of the linker tool was used which produces confusing output when the module identifier is used in an error message. llvm-svn: 24699
* Fix test/Regression/Linker/2005-12-06-AppendingZeroLengthArrays.ll andChris Lattner2005-12-061-0/+2
| | | | | | | PR662. Thanks to Markus for providing me with a ton of files to reproduce the problem! llvm-svn: 24619
* DONT_BUILD_RELINKED is gone and implied by BUILD_ARCHIVE nowChris Lattner2005-10-241-1/+1
| | | | llvm-svn: 23940
* For PR495:Reid Spencer2005-07-072-18/+26
| | | | | | | | | | | | | | | | | | | | | Get rid of the difference between file paths and directory paths. The Path class now simply stores a path that can refer to either a file or a directory. This required various changes in the implementation and interface of the class with the corresponding impact to its users. Doxygen comments were also updated to reflect these changes. Interface changes are: appendDirectory -> appendComponent appendFile -> appendComponent elideDirectory -> eraseComponent elideFile -> eraseComponent elideSuffix -> eraseSuffix renameFile -> rename setDirectory -> set setFile -> set Changes pass Dejagnu and llvm-test/SingleSource tests. llvm-svn: 22349
* For PR495:Reid Spencer2005-07-072-2/+2
| | | | | | | | | | | Change interface to Path class: readable -> canRead writable -> canWrite executable -> canExecute More (incremental) changes coming to close 495. llvm-svn: 22345
* Preserve CC's when linking modulesChris Lattner2005-05-091-0/+1
| | | | llvm-svn: 21799
* Remove trailing whitespaceMisha Brukman2005-04-214-56/+56
| | | | llvm-svn: 21422
* fix some 80 column violationsChris Lattner2005-03-151-4/+11
| | | | | | Add support for programs that define main in a .a file, such as f2c'd programs. llvm-svn: 20631
* consolidate LinkFiles into LinkItems, use lib_* iterators.Chris Lattner2005-03-152-85/+61
| | | | llvm-svn: 20630
* consolidate LinkLibraries into LinkItemsChris Lattner2005-03-152-76/+57
| | | | llvm-svn: 20629
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-152-8/+8
| | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597
* Add support for ".so" files compiled with LLVM which contain LLVM bytecode.Chris Lattner2005-02-192-3/+11
| | | | llvm-svn: 20253
* Eliminate silly warnings from the linker of the form:Chris Lattner2005-02-191-12/+0
| | | | | | | WARNING: Type conflict between types named 'union.._604.'. Src=' %union.._604.'. Dest=' %union.._604.' llvm-svn: 20252
* Minor cleanup. No need to explicitly tell the compiler the template arguments.Chris Lattner2005-02-131-3/+2
| | | | llvm-svn: 20153
* Print something useful for gccld -v with an archive.Chris Lattner2005-02-131-0/+2
| | | | llvm-svn: 20148
* Allow globals to be of different const'nesses when we link.Chris Lattner2005-02-121-8/+2
| | | | | | | This finally resolves PR502, PR450, and test/Regression/Linker/2005-02-12-ConstantGlobals{,-2}.ll correctly llvm-svn: 20135
* Remove un-needed #includes.Reid Spencer2004-12-201-3/+1
| | | | llvm-svn: 19061
* Fix a compile error. config.h is now needed because DataTypes.h doesn'tReid Spencer2004-12-161-0/+1
| | | | | | include it any more. llvm-svn: 18993
* * Fix header block.Reid Spencer2004-12-131-8/+8
| | | | | | | | * Fix loop style per standards * Don't create a new Module when the Linker's module is released. * Add/fix function comments. llvm-svn: 18871
* Add missing space in a comment.Reid Spencer2004-12-131-1/+1
| | | | llvm-svn: 18870
* Fix header and function comments.Reid Spencer2004-12-131-14/+6
| | | | llvm-svn: 18867
* This file contains basic Linker facilities needed by all toolsReid Spencer2004-12-131-0/+166
| | | | llvm-svn: 18860
* Make LinkModules a static member functionReid Spencer2004-12-131-1/+2
| | | | llvm-svn: 18859
* This file contains only the Linker's library linking supportReid Spencer2004-12-131-0/+70
| | | | llvm-svn: 18858
* 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
* This file contains only the Linker's file linking supportReid Spencer2004-12-131-0/+89
| | | | llvm-svn: 18856
* For PR351: \Reid Spencer2004-12-131-284/+32
| | | | | | | | | * Convert functions to Linker:: methods. \ * Remove unneeded #includes \ * Utilize sys::Path utilities not FileSupport utilities \ * Move File & Library linking functions to other source files llvm-svn: 18855
* Make sure to link the target-triple as well, so it ends up in the .llvm.bc fileChris Lattner2004-12-101-1/+6
| | | | llvm-svn: 18774
* Turn this error back into a warning, fixing the povray regressionChris Lattner2004-12-081-2/+2
| | | | llvm-svn: 18655
* Revert this disgusting hack, John has a much nicer solutionChris Lattner2004-12-081-23/+0
| | | | llvm-svn: 18611
* Add a disgusting hack to work around a libstdc++ issue. This code shouldChris Lattner2004-12-081-0/+23
| | | | | | be removed when PR400 is resolved. llvm-svn: 18610
* Fix PR139: \Reid Spencer2004-12-051-0/+159
| | | | | | Implement LinkItems and BuildLinkItems interfaces. llvm-svn: 18547
* Fix linkage of mismatched weak globals. This unbreaks 300.twolfChris Lattner2004-12-041-0/+2
| | | | llvm-svn: 18494
OpenPOWER on IntegriCloud