| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
format help output
llvm-svn: 186640
|
|
|
|
| |
llvm-svn: 186450
|
|
|
|
| |
llvm-svn: 186428
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a follow up patch for r186336.
Reviewers: LegalizeAdulthood
CC: silvas, llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1144
llvm-svn: 186384
|
|
|
|
| |
llvm-svn: 186382
|
|
|
|
|
|
| |
reasonable.
llvm-svn: 186368
|
|
|
|
|
|
|
| |
- Make a const reference instead of copying an object
- Fix a comment
llvm-svn: 186355
|
|
|
|
| |
llvm-svn: 186353
|
|
|
|
| |
llvm-svn: 186352
|
|
|
|
| |
llvm-svn: 186346
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
header.
llvm-svn: 186066
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
than all at once.
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
|
|
|
|
| |
llvm-svn: 185803
|
|
|
|
|
|
| |
unmapped page.
llvm-svn: 185534
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 185517
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
class.
llvm-svn: 185515
|
|
|
|
| |
llvm-svn: 185310
|
|
|
|
|
|
| |
location to file header.
llvm-svn: 185309
|
|
|
|
|
|
| |
such executable.
llvm-svn: 185308
|
|
|
|
| |
llvm-svn: 185307
|
|
|
|
| |
llvm-svn: 185285
|
|
|
|
| |
llvm-svn: 185283
|
|
|
|
|
|
| |
function is not used in release build.
llvm-svn: 185248
|
|
|
|
| |
llvm-svn: 185247
|
|
|
|
| |
llvm-svn: 185205
|
|
|
|
| |
llvm-svn: 185200
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
defined atoms.
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
|
|
|
|
| |
llvm-svn: 185134
|
|
|
|
| |
llvm-svn: 185133
|
|
|
|
| |
llvm-svn: 185130
|
|
|
|
| |
llvm-svn: 185129
|
|
|
|
| |
llvm-svn: 185128
|
|
|
|
|
|
|
| |
Templatize connectAtomsWithLayoutEdge() so that it can handle other types of
defined atoms.
llvm-svn: 185125
|
|
|
|
| |
llvm-svn: 185102
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 184653
|
|
|
|
| |
llvm-svn: 184651
|
|
|
|
| |
llvm-svn: 184649
|
|
|
|
| |
llvm-svn: 184589
|
|
|
|
| |
llvm-svn: 184585
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: shankarke
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D998
llvm-svn: 184327
|
|
|
|
| |
llvm-svn: 184266
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
other files.
Extract atom definitions as Atoms.h so that we can use them in other files.
Also applied clang-format to Atoms.h.
Reviewers: shankarke
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D995
llvm-svn: 184124
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first patch toward full DLL support. With this patch, lld can
read .lib file for a DLL.
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D987
llvm-svn: 184101
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: shankarke
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D989
llvm-svn: 184085
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds functionality to add more sections like .gcc_except_table,
.data.rel.local, .data.rel.ro into the default section map, so that they are
all merged into appropriate output sections.
This also makes c++ static binaries comparable to what you get with the default
linker.
Adds a test for testing the functionality.
llvm-svn: 184071
|