| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 192310
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change removes code in various places which was setting the File Ordinals.
This is because the file ordinals are assigned by the way files are resolved.
There was no other way than making the getNextFileAndOrdinal be set const and
change the _nextOrdinal to mutable.
There are so many places in code, that you would need to cleanup to make
LinkingContext non-const!
llvm-svn: 192280
|
|
|
|
| |
llvm-svn: 192261
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Cleanup structure members that are not being used.
Also clang-format it.
llvm-svn: 191038
|
|
|
|
|
|
|
|
|
| |
This sets the sectionChoice property for DefinedAtoms. The output section name
is derived by the property of the atom. This also decreases native file size.
Adds a test.
llvm-svn: 190840
|
|
|
|
|
|
| |
This adds init/fini support for Hexagon.
llvm-svn: 189872
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This should have been done in r187823 when I renamed LinkingContext
from TargetInfo. I missed a few files.
llvm-svn: 189298
|
|
|
|
|
|
|
|
|
|
| |
The cleanup includes :-
* Rename ambiguous Header class to ELFHeader
* Convert Chunk contentype and kind to be a enumerated class
* Remove functions that are not being used, avoids future confusion
llvm-svn: 189209
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 188981
|
|
|
|
| |
llvm-svn: 188965
|
|
|
|
|
|
|
|
|
| |
Also change some local variable names: "ti" -> "context" and
"_targetInfo" -> "_context".
Differential Revision: http://llvm-reviews.chandlerc.com/D1301
llvm-svn: 187823
|
|
|
|
|
|
|
|
|
|
|
|
| |
non-ELF writers.
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D977
llvm-svn: 184061
|
|
|
|
| |
llvm-svn: 182427
|
|
|
|
|
|
|
|
| |
so that their names are hidden.
This addresses comments raised by Sean/Rafael.
llvm-svn: 182230
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
only if they are relative. This removes the FIXME when the
relocations are being emitted and checks if the relocation
is relative and only then populates the addend information.
I couldnt add a testcase for this as llvm-readobj lacks
functionality of printing dynamic relocations.
When the functionality is added, remove the commented lines
from elf/ifunc.test to test functionality.
llvm-svn: 182077
|
|
|
|
| |
llvm-svn: 181852
|
|
|
|
|
|
|
| |
This makes the target handler a constructor argument because the constructor of
OutputELFWriter relies on it being initialized.
llvm-svn: 181280
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 178495
|
|
|
|
| |
llvm-svn: 178467
|
|
|
|
|
|
| |
Hexagon
llvm-svn: 178323
|
|
|
|
| |
llvm-svn: 178027
|
|
|
|
| |
llvm-svn: 177970
|
|
|
|
| |
llvm-svn: 177484
|
|
|
|
| |
llvm-svn: 177079
|
|
|
|
| |
llvm-svn: 176970
|
|
|
|
| |
llvm-svn: 176415
|
|
|
|
| |
llvm-svn: 176298
|
|
|
|
| |
llvm-svn: 176278
|
|
|
|
| |
llvm-svn: 176277
|
|
|
|
| |
llvm-svn: 176169
|
|
|
|
| |
llvm-svn: 176167
|
|
|
|
| |
llvm-svn: 176162
|
|
|
|
| |
llvm-svn: 175997
|
|
|
|
| |
llvm-svn: 175983
|
|
|
|
| |
llvm-svn: 175904
|
|
|
|
| |
llvm-svn: 175901
|
|
|
|
| |
llvm-svn: 174658
|
|
|
|
| |
llvm-svn: 174178
|
|
|
|
|
|
| |
hexagonrelocationhander
llvm-svn: 174148
|
|
|
|
| |
llvm-svn: 173966
|
|
|
|
|
|
| |
vice versa
llvm-svn: 173942
|
|
|
|
| |
llvm-svn: 173938
|
|
|
|
| |
llvm-svn: 173921
|
|
|
|
| |
llvm-svn: 173912
|
|
|
|
| |
llvm-svn: 173909
|
|
|
|
| |
llvm-svn: 173838
|