- Nov 18, 2013
-
-
Rui Ueyama authored
llvm-svn: 194988
-
Rui Ueyama authored
The maximum number of references the file with NativeReferenceIvarsV1 can contain is 65534. If a file larger than that is converted to Native format, the conversion will fail without any error message. This caused a subtle bug that the LLD would produce a broken executable only when input files contain too many references. This issue exists since the RoundTripNativeTest is introduced in r193585. Since then, it seems that nobody have linked any program having more than 65534 relocations with the LLD. Otherwise we would have found it earlier. llvm-svn: 194987
-
- Nov 16, 2013
-
-
Rui Ueyama authored
No functionality change. llvm-svn: 194914
-
Rui Ueyama authored
llvm-svn: 194913
-
Rui Ueyama authored
llvm-svn: 194911
-
Rui Ueyama authored
llvm-svn: 194909
-
Rui Ueyama authored
llvm-svn: 194908
-
Rui Ueyama authored
end() was evaluated every time through a loop. This patch eliminates it. llvm-svn: 194894
-
Rui Ueyama authored
llvm-svn: 194890
-
Rui Ueyama authored
llvm-svn: 194887
-
Rui Ueyama authored
llvm-svn: 194877
-
- Nov 15, 2013
-
-
Rui Ueyama authored
llvm-svn: 194866
-
Rui Ueyama authored
llvm-svn: 194776
-
- Nov 08, 2013
-
-
Michael J. Spencer authored
llvm-svn: 194278
-
- Nov 05, 2013
-
-
Rui Ueyama authored
llvm-svn: 194037
-
- Nov 04, 2013
-
-
Simon Atanasyan authored
Patch reviewed by Shankar Easwaran. llvm-svn: 194010
-
- Oct 18, 2013
-
-
Shankar Easwaran authored
There is no test as currently there is no call to the NativeWriter. Future commits will add calls to the NativeWriter. llvm-svn: 192944
-
- Oct 09, 2013
-
-
Rui Ueyama authored
llvm-svn: 192261
-
- Oct 07, 2013
-
-
Shankar Easwaran authored
Changes :- a) Functionality in InputGraph to insert Input elements at any position b) Functionality in the Resolver to use nextFile c) Move the functionality of assigning file ordinals to InputGraph d) Changes all inputs to MemoryBuffers e) Remove LinkerInput, InputFiles, ReaderArchive llvm-svn: 192081
-
- Sep 27, 2013
-
-
Michael J. Spencer authored
llvm-svn: 191466
-
- Sep 12, 2013
-
-
Rui Ueyama authored
In COFF, an undefined symbol can have up to one alternative name. If a symbol is resolved by its regular name, then it's linked normally. If a symbol is not found in any input files, all references to the regular name are resolved using the alternative name. If the alternative name is not found, it's a link error. This mechanism is called "weak externals". To support this mechanism, I added a new member function fallback() to undefined atom. If an undefined atom has the second name, fallback() returns a new undefined atom that should be used instead of the original one to resolve undefines. If it does not have the second name, the function returns nullptr. Differential Revision: http://llvm-reviews.chandlerc.com/D1550 llvm-svn: 190625
-
- Sep 07, 2013
-
-
Joerg Sonnenberger authored
reference. Move readFile logic into FileNode::createLinkerInput. llvm-svn: 190253
-
- Aug 23, 2013
-
-
Shankar Easwaran authored
BSS atoms dont take any file space in the Input file. They are associated with a contentType(typeZeroFill). Similiar zero fill types also exist which have the same meaning in terms of occupying file space in the Input. These atoms have to be handled seperately when writing to the lld's intermediate file or the lld test infrastructure. Also adds a test. llvm-svn: 189136
-
- Aug 07, 2013
-
-
Rui Ueyama authored
Also change some local variable names: "ti" -> "context" and "_targetInfo" -> "_context". Differential Revision: http://llvm-reviews.chandlerc.com/D1301 llvm-svn: 187823
-
- Jul 16, 2013
-
-
Rafael Espindola authored
llvm-svn: 186450
-
- Jun 21, 2013
-
-
Rui Ueyama authored
llvm-svn: 184589
-
- Jun 13, 2013
-
-
Rui Ueyama authored
Architecture specific code should reside in architecture specific directory not in Atom. Looks like there are no efforts being made at this moment to support ARM, so let's remove it for now. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D959 llvm-svn: 183877
-
- Apr 29, 2013
-
-
Shankar Easwaran authored
[lld][ELF] (no testable functionality change) resize the number of entries in the string table for static linking llvm-svn: 180692
-
- Apr 06, 2013
-
-
Michael J. Spencer authored
llvm-svn: 178918
-
- Apr 05, 2013
-
-
Michael J. Spencer authored
llvm-svn: 178914
-
- Apr 04, 2013
-
-
Nick Kledzik authored
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
-
- Mar 20, 2013
-
-
Michael J. Spencer authored
Improves performance. llvm-svn: 177556
-
Michael J. Spencer authored
This is the standard way of implementing LLVM RTTI. llvm-svn: 177555
-
- Mar 14, 2013
-
-
Shankar Easwaran authored
llvm-svn: 177079
-
- Feb 24, 2013
-
-
Shankar Easwaran authored
llvm-svn: 175983
-
- Jan 26, 2013
-
-
Michael J. Spencer authored
llvm-svn: 173570
-
- Jan 25, 2013
-
-
Shankar Easwaran authored
llvm-svn: 173430
-
- Jan 23, 2013
-
-
Nick Kledzik authored
llvm-svn: 173300
-
Michael J. Spencer authored
I really would have liked to split this patch up, but it would greatly complicate the lld-core and lld drivers having to deal with both {Reader,Writer}Option and TargetInfo. llvm-svn: 173217
-
- Jan 12, 2013
-
-
Michael J. Spencer authored
This removes a bunch of llvm_unreachables and makes a File's mutability part of the type system. llvm-svn: 172297
-