| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix command line option to use -o | Nick Kledzik | 2013-04-04 | 1 | -1/+1 |
| | | | | | llvm-svn: 178777 | ||||
| * | This is my Driver refactoring patch. | Nick Kledzik | 2013-04-04 | 165 | -1696/+3008 |
| | | | | | | | | | | | | | | | | | | | | | | | | The major changes are: 1) LinkerOptions has been merged into TargetInfo 2) LinkerInvocation has been merged into Driver 3) Drivers no longer convert arguments into an intermediate (core) argument list, but instead create a TargetInfo object and call setter methods on it. This is only how in-process linking would work. That is, you can programmatically set up a TargetInfo object which controls the linking. 4) Lots of tweaks to test suite to work with driver changes 5) Add the DarwinDriver 6) I heavily doxygen commented TargetInfo.h Things to do after this patch is committed: a) Consider renaming TargetInfo, given its new roll. b) Consider pulling the list of input files out of TargetInfo. This will enable in-process clients to create one TargetInfo the re-use it with different input file lists. c) Work out a way for Drivers to format the warnings and error done in core linking. llvm-svn: 178776 | ||||
| * | Update for API change for handling mips64el. | Rafael Espindola | 2013-04-03 | 2 | -8/+18 |
| | | | | | llvm-svn: 178695 | ||||
| * | Update the lld testsuite for the llvm-readobj format change. | Rafael Espindola | 2013-04-03 | 4 | -53/+208 |
| | | | | | llvm-svn: 178693 | ||||
| * | [ELF][Hexagon] fix few relocations and add test | Shankar Easwaran | 2013-04-01 | 5 | -34/+57 |
| | | | | | llvm-svn: 178495 | ||||
| * | [ELF][Hexagon] Create .got.plt entries with the appropriate alignment | Shankar Easwaran | 2013-04-01 | 6 | -19/+27 |
| | | | | | llvm-svn: 178467 | ||||
| * | [ELF] Set the symbol type for undefined atoms properly | Shankar Easwaran | 2013-04-01 | 3 | -3/+6 |
| | | | | | llvm-svn: 178466 | ||||
| * | [ELF] Add dynamic hash table and get simple dynamic libraries working with ↵ | Shankar Easwaran | 2013-03-29 | 9 | -52/+263 |
| | | | | | | | Hexagon llvm-svn: 178323 | ||||
| * | [ELF] Cache contentType and permissions. | Michael J. Spencer | 2013-03-28 | 2 | -18/+31 |
| | | | | | llvm-svn: 178269 | ||||
| * | [Driver] Don't open files multiple times. | Michael J. Spencer | 2013-03-28 | 1 | -2/+1 |
| | | | | | llvm-svn: 178268 | ||||
| * | [ELF][Hexagon] remove duplicated code | Shankar Easwaran | 2013-03-26 | 1 | -59/+27 |
| | | | | | llvm-svn: 178027 | ||||
| * | [ELF][Hexagon] Fixing failing test on Bots, few symbol names are available ↵ | Shankar Easwaran | 2013-03-26 | 1 | -40/+3 |
| | | | | | | | only in debug builds, dont check the symbol names llvm-svn: 177991 | ||||
| * | [ELF] no change in functionality, add functions to symbol table so that they ↵ | Shankar Easwaran | 2013-03-26 | 1 | -69/+112 |
| | | | | | | | can be overridden by derived classes llvm-svn: 177990 | ||||
| * | [ELF][Hexagon] add GOTREL/GOT relocations | Shankar Easwaran | 2013-03-26 | 5 | -4/+291 |
| | | | | | llvm-svn: 177970 | ||||
| * | [ELF] order rela.dyn/rela.plt properly | Shankar Easwaran | 2013-03-26 | 4 | -2/+41 |
| | | | | | llvm-svn: 177969 | ||||
| * | [ELF] fix dynamic symbol table entries and update tests | Shankar Easwaran | 2013-03-25 | 3 | -12/+14 |
| | | | | | llvm-svn: 177875 | ||||
| * | [ELF][Hexagon][test] check .got.plt order | Shankar Easwaran | 2013-03-20 | 3 | -0/+12 |
| | | | | | llvm-svn: 177604 | ||||
| * | [X86_64][test] check that interp section is not emitted when building ↵ | Shankar Easwaran | 2013-03-20 | 3 | -0/+6 |
| | | | | | | | dynamic libraries llvm-svn: 177603 | ||||
| * | [SymbolTable][Perf] Use hash_combine instead of a custom hash, also use memcmp. | Michael J. Spencer | 2013-03-20 | 1 | -14/+9 |
| | | | | | | | | | | | ArrayRef<uint8_t>::equals(); lowers to a byte compare loop :(. TODO: Figure out if we are getting hash collisions, or just have a lot of equal content. Also test if crypto hashing the content instead of full compare is better. llvm-svn: 177588 | ||||
| * | [ELF][Reader] Add debug message to print all inputs the linker actually read. | Michael J. Spencer | 2013-03-20 | 1 | -0/+1 |
| | | | | | llvm-svn: 177564 | ||||
| * | [ELF][Reader][Perf] Only do loookup once. | Michael J. Spencer | 2013-03-20 | 1 | -2/+3 |
| | | | | | llvm-svn: 177563 | ||||
| * | [ELF][Reader] Refactor how relocations are read. Improves performance. | Michael J. Spencer | 2013-03-20 | 1 | -20/+23 |
| | | | | | | | | | This changes from reading each relocation individually for each section to just storing the range of relocations. It also counts the relocations to preallocate the _references array. llvm-svn: 177562 | ||||
| * | [ELF][Reader] Remove static ordinal. | Michael J. Spencer | 2013-03-20 | 1 | -4/+1 |
| | | | | | llvm-svn: 177561 | ||||
| * | memcpy instead of copy_n. Faster than copy_n on MSVC :(. | Michael J. Spencer | 2013-03-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 177557 | ||||
| * | Devirtualize Reference::kind. | Michael J. Spencer | 2013-03-20 | 5 | -40/+24 |
| | | | | | | | Improves performance. llvm-svn: 177556 | ||||
| * | Devirtualize File::kind. | Michael J. Spencer | 2013-03-20 | 8 | -31/+16 |
| | | | | | | | This is the standard way of implementing LLVM RTTI. llvm-svn: 177555 | ||||
| * | Set ordinals correctly. | Michael J. Spencer | 2013-03-20 | 4 | -8/+4 |
| | | | | | | | | This actually doesn't change behavior with the current LinkerInvocation, but it's needed when you make reading parallel. llvm-svn: 177554 | ||||
| * | [ELF][Hexagon] Add Hexagon dynamic relocations | Shankar Easwaran | 2013-03-20 | 3 | -8/+152 |
| | | | | | llvm-svn: 177484 | ||||
| * | [ELF] Interp section is only needed in dynamic executables | Shankar Easwaran | 2013-03-20 | 2 | -9/+14 |
| | | | | | llvm-svn: 177483 | ||||
| * | [ELF] Order .got.plt properly | Shankar Easwaran | 2013-03-20 | 1 | -1/+4 |
| | | | | | llvm-svn: 177482 | ||||
| * | Fix "control reaches end of non-void function" compiling lld on gcc. | Andy Gibbs | 2013-03-19 | 1 | -1/+2 |
| | | | | | llvm-svn: 177424 | ||||
| * | Add virtual destructors to fix -Wnon-virtual-dtor warnings | Alexey Samsonov | 2013-03-19 | 2 | -0/+6 |
| | | | | | llvm-svn: 177392 | ||||
| * | [lld] remove trailing whitespace | Shankar Easwaran | 2013-03-14 | 51 | -468/+468 |
| | | | | | llvm-svn: 177079 | ||||
| * | [ELF][X86_64][Hexagon] order plt/got entries properly and fix test | Shankar Easwaran | 2013-03-13 | 3 | -23/+45 |
| | | | | | llvm-svn: 176970 | ||||
| * | [Pass][Layout] Add extra debugging information | Shankar Easwaran | 2013-03-13 | 1 | -10/+22 |
| | | | | | llvm-svn: 176925 | ||||
| * | [ELF][Writer] Let std::vector handle allocating space instead of reserving ↵ | Michael J. Spencer | 2013-03-13 | 1 | -6/+0 |
| | | | | | | | tiny portions. llvm-svn: 176916 | ||||
| * | [Pass][Layout] Make algorithm not n^2. | Michael J. Spencer | 2013-03-12 | 1 | -0/+2 |
| | | | | | | | | This reduces the time spent in this function while linking ASTMatchersTests from %43 to %2.4 of total link time. llvm-svn: 176842 | ||||
| * | [ELF] Set values for bss_start and end symbols properly, If there are two ↵ | Shankar Easwaran | 2013-03-11 | 2 | -5/+11 |
| | | | | | | | load segments with RW permissions, bss_start and end may get set inappropriate llvm-svn: 176795 | ||||
| * | [Driver][GNU] Accept and ignore more options. | Michael J. Spencer | 2013-03-09 | 1 | -0/+4 |
| | | | | | llvm-svn: 176749 | ||||
| * | Fix (possible) MSVC miscompile in debug mode. | Michael J. Spencer | 2013-03-09 | 1 | -1/+2 |
| | | | | | llvm-svn: 176748 | ||||
| * | [Writer][ELF] Use correct data types for sizes. Fixes integer overflow bug. | Michael J. Spencer | 2013-03-09 | 1 | -3/+3 |
| | | | | | | | This only happens when the section header count is > 1024. llvm-svn: 176747 | ||||
| * | [ELF] Create baseclass for all ELF writers | Shankar Easwaran | 2013-03-08 | 3 | -587/+389 |
| | | | | | llvm-svn: 176724 | ||||
| * | [ELF] Order weak symbols properly | Shankar Easwaran | 2013-03-06 | 15 | -34/+268 |
| | | | | | llvm-svn: 176583 | ||||
| * | [ELF][Hexagon] fixing dynlib test | Shankar Easwaran | 2013-03-05 | 1 | -4/+5 |
| | | | | | llvm-svn: 176503 | ||||
| * | [ELF][Hexagon] fixing test failure | Shankar Easwaran | 2013-03-05 | 1 | -6/+5 |
| | | | | | llvm-svn: 176497 | ||||
| * | Fix -Wdocumentation warning: use a correct Doxygen comment marker | Dmitri Gribenko | 2013-03-05 | 1 | -6/+6 |
| | | | | | llvm-svn: 176494 | ||||
| * | [ELF] Set symbol type to STT_SECTION, so that objdump.bfd doesnot get ↵ | Shankar Easwaran | 2013-03-05 | 1 | -1/+7 |
| | | | | | | | confused when disassembling output llvm-svn: 176489 | ||||
| * | [ELF] add dynamic library support | Shankar Easwaran | 2013-03-05 | 2 | -7/+40 |
| | | | | | llvm-svn: 176483 | ||||
| * | [ELF] Remove comment | Shankar Easwaran | 2013-03-05 | 4 | -17/+395 |
| | | | | | llvm-svn: 176482 | ||||
| * | [ELF] no functionality change, update dynamicTable functionality | Shankar Easwaran | 2013-03-04 | 2 | -71/+82 |
| | | | | | llvm-svn: 176430 | ||||

