llvm-project/lld/ELF
Alexander Richardson 048e2508ad Rename DynamicReloc::getAddend() to computeAddend(). NFC
Summary:
Before the name of the function sounded like it was just a getter for the
private class member Addend. However, it actually calculates the final
value for the r_addend field in Elf_Rela that is used when writing the
.rela.dyn section. I also added a comment to the UseSymVA member to
explain how it interacts with computeAddend().

Differential Revision: https://reviews.llvm.org/D43161

llvm-svn: 325485
2018-02-19 11:00:15 +00:00
..
Arch [ELF][MIPS] Rename function to be consistent with other names. NFC 2018-01-29 14:00:51 +00:00
AArch64ErrataFix.cpp Use log to print out a verbose message. 2018-02-09 00:15:12 +00:00
AArch64ErrataFix.h [ELF] Fix buildbot warning error. 2017-12-15 10:47:44 +00:00
Bits.h Move bit operations to a new file, ELF/Bits.h. 2017-10-26 21:37:17 +00:00
CMakeLists.txt [ELF] Implement scanner for Cortex-A53 Erratum 843419 2017-12-05 15:59:05 +00:00
Config.h Remove "--full-shutdown" and instead use an environment variable LLD_IN_TEST. 2018-02-16 23:41:48 +00:00
Driver.cpp Remove "--full-shutdown" and instead use an environment variable LLD_IN_TEST. 2018-02-16 23:41:48 +00:00
Driver.h Remove "--full-shutdown" and instead use an environment variable LLD_IN_TEST. 2018-02-16 23:41:48 +00:00
DriverUtils.cpp Simplify libtool compatibility hack. 2018-02-07 00:13:01 +00:00
EhFrame.cpp De-template EhReader. NFC. 2017-10-27 03:14:09 +00:00
EhFrame.h De-template EhReader. NFC. 2017-10-27 03:14:09 +00:00
Filesystem.cpp Don't use llvm/Config/config.h. 2017-11-17 21:40:38 +00:00
Filesystem.h Add a missing #include. 2017-11-17 08:17:21 +00:00
GdbIndex.cpp s/uncompress/decompress/g. 2018-02-12 21:56:14 +00:00
GdbIndex.h [ELF] - Teach LLD to use information from .debug_str for error reporting. 2017-11-17 11:57:47 +00:00
ICF.cpp Use toString to stringize sections and files. 2018-02-13 22:56:49 +00:00
ICF.h [ELF] - Apply clang-format. NFC. 2017-07-18 11:55:35 +00:00
InputFiles.cpp ELF: Stop collecting a list of symbols in ArchiveFile. 2018-02-16 20:23:54 +00:00
InputFiles.h ELF: Stop collecting a list of symbols in ArchiveFile. 2018-02-16 20:23:54 +00:00
InputSection.cpp Ensure that Elf_Rel addends are always written for dynamic relocations 2018-02-16 10:01:17 +00:00
InputSection.h s/uncompress/decompress/g. 2018-02-12 21:56:14 +00:00
LTO.cpp Symbols defined in linker scripts should not have dso_local flag set in LTO resolutions. 2018-02-08 04:25:52 +00:00
LTO.h Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00
LinkerScript.cpp [ELF] - Support COPY, INFO, OVERLAY output sections attributes. 2018-02-16 10:42:58 +00:00
LinkerScript.h Run dos2unix in a few files. NFC. 2018-01-30 17:24:28 +00:00
MapFile.cpp Remove some includes from InputFiles.h. 2017-12-09 16:56:18 +00:00
MapFile.h Pass symbol attributes instead of ElfSym to Shared symbol ctor. 2017-10-28 20:15:56 +00:00
MarkLive.cpp Use toString to print out garbage-collected sections. 2018-02-17 00:09:49 +00:00
Options.td Remove "--full-shutdown" and instead use an environment variable LLD_IN_TEST. 2018-02-16 23:41:48 +00:00
OutputSections.cpp Sort each InputSectionDescription individually. 2018-02-01 19:30:15 +00:00
OutputSections.h [ELF] - Support COPY, INFO, OVERLAY output sections attributes. 2018-02-16 10:42:58 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp Simplify RelocationBaseSection::addReloc. 2018-02-16 16:53:04 +00:00
Relocations.h Ensure that Elf_Rel addends are always written for dynamic relocations 2018-02-16 10:01:17 +00:00
ScriptLexer.cpp Simplify script lexer. 2017-12-26 10:13:10 +00:00
ScriptLexer.h Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00
ScriptParser.cpp [ELF] - Fix comment. NFC. 2018-02-16 10:46:50 +00:00
ScriptParser.h [ELF] Support expressions with -defsym option 2017-11-04 02:03:58 +00:00
Strings.cpp Factor out common code to Common/Strings.cpp. 2017-11-28 02:15:26 +00:00
Strings.h Factor out common code to Common/Strings.cpp. 2017-11-28 02:15:26 +00:00
SymbolTable.cpp ELF: Stop collecting a list of symbols in ArchiveFile. 2018-02-16 20:23:54 +00:00
SymbolTable.h ELF: Stop collecting a list of symbols in ArchiveFile. 2018-02-16 20:23:54 +00:00
Symbols.cpp Add --no-gnu-unique and --no-undefined-version for completeness. 2018-02-02 21:44:06 +00:00
Symbols.h Revert r325158: Convert an assert to a static_assert. NFC. 2018-02-14 22:43:43 +00:00
SyntheticSections.cpp Rename DynamicReloc::getAddend() to computeAddend(). NFC 2018-02-19 11:00:15 +00:00
SyntheticSections.h Rename DynamicReloc::getAddend() to computeAddend(). NFC 2018-02-19 11:00:15 +00:00
Target.cpp Use dyn_cast instead of dyn_cast_or_null. 2017-12-20 20:46:08 +00:00
Target.h Use references instead of pointers. NFC. 2017-12-19 23:59:35 +00:00
Thunks.cpp Use references instead of pointers. NFC. 2017-12-19 23:59:35 +00:00
Thunks.h ELF: Merge DefinedRegular and Defined. 2017-11-06 04:35:31 +00:00
Writer.cpp [ELF] Simplify handling of AT section attribute. 2018-02-15 06:13:52 +00:00
Writer.h [ELF] Simplify handling of AT section attribute. 2018-02-15 06:13:52 +00:00

README.md

See docs/NewLLD.rst