- Jul 16, 2013
-
-
Rui Ueyama authored
- Make a const reference instead of copying an object - Fix a comment llvm-svn: 186355
-
Rui Ueyama authored
llvm-svn: 186353
-
- Jul 15, 2013
-
-
Rui Ueyama authored
llvm-svn: 186352
-
Rui Ueyama authored
llvm-svn: 186346
-
Rui Ueyama authored
Emit .reloc section. This is the first step to support DLL creation. The executable doesn't need .reloc section, but the DLL does. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1126 llvm-svn: 186336
-
- Jul 11, 2013
-
-
Rui Ueyama authored
This patch adds a new pass, IdataPass, to transform shared atom references to real references and to construct the .idata section data. With this patch lld can produce a working Hello World program by linking it against kernel32.dll and user32.dll. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1096 llvm-svn: 186071
-
Rui Ueyama authored
llvm-svn: 186066
-
- Jul 09, 2013
-
-
Rui Ueyama authored
Contents of ".reloc" section depends on the addresses of other sections, so the section cannot be created until all the other sections are created and get their memory addresses (RVAs). That means that computation of section size needs to be at least two pass. Techynically there's no reason to compute it all at once, but instead we can compute the address of a section as added to the output file. Doing so helps us to create ".reloc" section. llvm-svn: 185902
-
- Jul 08, 2013
-
-
Rui Ueyama authored
llvm-svn: 185803
-
- Jul 05, 2013
-
-
Rui Ueyama authored
llvm-svn: 185690
-
- Jul 04, 2013
-
-
Rafael Espindola authored
llvm-svn: 185658
-
Rafael Espindola authored
llvm-svn: 185657
-
Rafael Espindola authored
llvm-svn: 185655
-
Rui Ueyama authored
This is a follow-up patch for r185524. Being assert enabled does not mean that DEBUG() is enabled, so we need to check the existence of DEBUG() itself. llvm-svn: 185619
-
- Jul 03, 2013
-
-
Rui Ueyama authored
llvm-svn: 185534
-
Rui Ueyama authored
llvm-svn: 185524
-
Rui Ueyama authored
The optional data directory header contains addresses to some atoms such as the import address table in data section. Such fields can naturally be set by relocation if we make the optional data driectory as an atom. Currently we assume that atoms are always in a section, so we can't create a file header with atoms. This patch separates section chunk from atom chunk, to allow atom-based file header. llvm-svn: 185521
-
Rui Ueyama authored
llvm-svn: 185517
-
Rui Ueyama authored
A hint is an index of the export pointer table in a DLL, at which PE/COFF loader starts looking for a symbol name. The import library comes with hints and symbol pairs, and as long as hints are in sync with the actual symbol table in DLL, the symbols will be resolved quickly. So, we shouldn't ignore hints but propagate them to an output. llvm-svn: 185516
-
Rui Ueyama authored
llvm-svn: 185515
-
- Jul 02, 2013
-
-
Rui Ueyama authored
llvm-svn: 185420
-
- Jul 01, 2013
-
-
Rui Ueyama authored
llvm-svn: 185310
-
Rui Ueyama authored
llvm-svn: 185309
-
Rui Ueyama authored
llvm-svn: 185308
-
Rui Ueyama authored
llvm-svn: 185307
-
- Jun 30, 2013
-
-
Rui Ueyama authored
llvm-svn: 185285
-
Rui Ueyama authored
llvm-svn: 185283
-
- Jun 29, 2013
-
-
Rui Ueyama authored
function is not used in release build. llvm-svn: 185248
-
Rui Ueyama authored
llvm-svn: 185247
-
- Jun 28, 2013
-
-
Rui Ueyama authored
llvm-svn: 185205
-
Rui Ueyama authored
llvm-svn: 185200
-
Rui Ueyama authored
In order to support linking against DLL, the linker needs to create defined atoms for jump tables and etc. Because such atoms are not read from a file, they lack some information such as an ordinal. With this patch, COFFDefinedAtom is split into two classes; one is the base class of all COFF defined atoms, and another is a concrete class for atoms read from file. More classes inheriting COFFBaseDefinedAtom will be added for jump tables and etc. llvm-svn: 185195
-
Rui Ueyama authored
llvm-svn: 185134
-
Rui Ueyama authored
llvm-svn: 185133
-
Rui Ueyama authored
llvm-svn: 185130
-
Rui Ueyama authored
llvm-svn: 185129
-
Rui Ueyama authored
llvm-svn: 185128
-
Rui Ueyama authored
Templatize connectAtomsWithLayoutEdge() so that it can handle other types of defined atoms. llvm-svn: 185125
-
- Jun 27, 2013
-
-
Rui Ueyama authored
llvm-svn: 185102
-
- Jun 24, 2013
-
-
Shankar Easwaran authored
This renames variable name to reflect initial undefined symbols that are defined by the linker -u option. This doesnot change any functionality in lld, and updates code to reflect Nick's comment. llvm-svn: 184682
-