| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 190554
|
|
|
|
|
|
| |
Patch by Joe Ranieri
llvm-svn: 190453
|
|
|
|
|
|
|
|
| |
-current_version, -compatibility_version, and -install_name.
Patch by Joe Ranieri
llvm-svn: 190452
|
|
|
|
|
|
|
|
| |
and a parsePackedVersion() utility.
Patch by Joe Ranieri
llvm-svn: 190451
|
|
|
|
|
|
|
| |
Process::GetEnv() uses GetEnvironmentVariableW, which is a Windows API
to get an environment variable and is preferable over getenv().
llvm-svn: 190431
|
|
|
|
| |
llvm-svn: 190332
|
|
|
|
| |
llvm-svn: 190329
|
|
|
|
| |
llvm-svn: 190302
|
|
|
|
| |
llvm-svn: 190301
|
|
|
|
|
|
|
|
|
| |
attribute in LinkerInput to isWholeArchive and use that for deciding
whether library archives should be expanded. Implement the -all_load
option of the Darwin linker using this flag and drop the support for it
in GNU mode.
llvm-svn: 190275
|
|
|
|
| |
llvm-svn: 190254
|
|
|
|
|
|
| |
reference. Move readFile logic into FileNode::createLinkerInput.
llvm-svn: 190253
|
|
|
|
|
|
| |
Patch by Ron Ofir.
llvm-svn: 190210
|
|
|
|
|
|
| |
Patch by Ron Ofir.
llvm-svn: 190198
|
|
|
|
| |
llvm-svn: 190121
|
|
|
|
|
|
| |
header.
llvm-svn: 190120
|
|
|
|
| |
llvm-svn: 190119
|
|
|
|
| |
llvm-svn: 190117
|
|
|
|
| |
llvm-svn: 190095
|
|
|
|
|
|
|
| |
Writable note sections if they exist should not appear before text
they belong in the data segment
llvm-svn: 190024
|
|
|
|
|
|
|
|
|
|
| |
It looks like there is a possibility of seeing RO/RW note sections
and we would need to create an appropriate RO/RW segment associated
with them.
Adds a test too.
llvm-svn: 189907
|
|
|
|
|
|
|
|
|
|
|
| |
The compiler is allowed to add a linker option starting with -?<name> to
.drectve section. If the linker can interpret -<name>, it's processed as if
there's no question mark there. If not, such option is silently ignored.
This is a COFF's feature to allow the compiler to emit new linker options
while keeping compatibility with older linkers.
llvm-svn: 189897
|
|
|
|
|
|
|
|
| |
Emit note sections if the input contains a note section.
Also emit a note segment.
llvm-svn: 189896
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before this patch, name of driver implementation is not consistent with its
option table file. Specifically, LDOptions has a different prefix than
GnuLdDriver.
This patch renames option files, so that the option files have the same prefix
as the corresponding driver files.
Differential Revision: http://llvm-reviews.chandlerc.com/D1591
llvm-svn: 189895
|
|
|
|
| |
llvm-svn: 189891
|
|
|
|
| |
llvm-svn: 189890
|
|
|
|
|
|
|
| |
Also add a llvm_unreachable call so that the linker will trip on unhandled
inputElement types.
llvm-svn: 189887
|
|
|
|
| |
llvm-svn: 189883
|
|
|
|
|
|
| |
calls of allocateString()
llvm-svn: 189881
|
|
|
|
| |
llvm-svn: 189877
|
|
|
|
| |
llvm-svn: 189876
|
|
|
|
| |
llvm-svn: 189874
|
|
|
|
| |
llvm-svn: 189873
|
|
|
|
|
|
| |
This adds init/fini support for Hexagon.
llvm-svn: 189872
|
|
|
|
|
|
|
|
|
|
| |
This changes the interface of createLinkerInput to use ErrorOr, so that
errors from the linker can be captured.
Also adds a convenience function for error strings to be returned from
file nodes.
llvm-svn: 189871
|
|
|
|
| |
llvm-svn: 189865
|
|
|
|
| |
llvm-svn: 189847
|
|
|
|
| |
llvm-svn: 189826
|
|
|
|
|
|
| |
dependencies should remain weak, not get promoted to undef or dropped.
llvm-svn: 189793
|
|
|
|
|
|
| |
Differential Revision: http://llvm-reviews.chandlerc.com/D1577
llvm-svn: 189777
|
|
|
|
| |
llvm-svn: 189775
|
|
|
|
| |
llvm-svn: 189771
|
|
|
|
| |
llvm-svn: 189752
|
|
|
|
| |
llvm-svn: 189751
|
|
|
|
|
|
|
|
| |
This creates .init_array/.fini_array section for X86_64 ELF
targets and executes init/fini functions specified by the
-init/-fini options respectively.
llvm-svn: 189719
|
|
|
|
|
|
|
|
|
|
|
|
| |
available in YAML
This adds an API to the LinkingContext for flavors to add Internal files
containing atoms that need to appear in the YAML output as well, when -emit-yaml
switch is used.
Flavors can add more internal files for other options that are needed.
llvm-svn: 189718
|
|
|
|
| |
llvm-svn: 189614
|
|
|
|
|
|
|
|
|
| |
We added layout edges to the head atoms in grouped sections. That was wrong,
because the head atom needs to be followed by the other atoms in the *same*
section, not by the other section contents. With this patch, layout edges are
added from tail atom, which is the last atom in a section, to head atom.
llvm-svn: 189573
|
|
|
|
|
|
|
|
| |
Because of a bug, the last atom of each section contained a garbage at the
end of its data. In most cases the garbage is harmless but it could have cause
SEGV.
llvm-svn: 189572
|
|
|
|
| |
llvm-svn: 189570
|