llvm-project/lld/ELF
Fangrui Song b5a0f0f397 [ELF] Add ELFFileBase::{elfShdrs,numELFShdrs} to avoid duplicate llvm::object::ELFFile::sections()
This mainly avoid `relsOrRelas` cost in `InputSectionBase::relocate`.
`llvm::object::ELFFile::sections()` has redundant and expensive checks.
2021-12-24 17:10:38 -08:00
..
Arch [ELF] Change some non-null pointer parameters to references. NFC 2021-12-22 20:51:11 -08:00
AArch64ErrataFix.cpp [ELF] Change objectFiles to ELFFileBase * 2021-12-15 00:37:10 -08:00
AArch64ErrataFix.h [LLD][ELF] Optimize linker script filename glob pattern matching NFC 2020-09-16 10:26:11 +01:00
ARMErrataFix.cpp [ELF] Change objectFiles to ELFFileBase * 2021-12-15 00:37:10 -08:00
ARMErrataFix.h [LLD][ELF] Optimize linker script filename glob pattern matching NFC 2020-09-16 10:26:11 +01:00
CMakeLists.txt [CMake] Make `intrinsics_gen` dependency unconditional. 2020-07-17 16:43:17 -07:00
CallGraphSort.cpp [ELF] Avoid referencing SectionBase::repl after ICF 2021-12-24 12:09:48 -08:00
CallGraphSort.h
Config.h [ELF] Change some global pointers to unique_ptr 2021-12-22 14:36:14 -08:00
DWARF.cpp [ELF] Add ELFFileBase::{elfShdrs,numELFShdrs} to avoid duplicate llvm::object::ELFFile::sections() 2021-12-24 17:10:38 -08:00
DWARF.h [ELF] --gdb-index: skip SHF_GROUP .debug_info 2020-08-13 09:11:01 -07:00
Driver.cpp [ELF] Add ELFFileBase::{elfShdrs,numELFShdrs} to avoid duplicate llvm::object::ELFFile::sections() 2021-12-24 17:10:38 -08:00
Driver.h [ELF] Change some global pointers to unique_ptr 2021-12-22 14:36:14 -08:00
DriverUtils.cpp [ELF] Update comments/diagnostics for some long options to use the canonical two-dash form 2021-10-25 12:52:06 -07:00
EhFrame.cpp ELF: Teach the linker about the 'B' augmentation string character. 2021-01-05 19:51:11 -08:00
EhFrame.h [ELF] --icf: don't fold text sections with LSDA 2020-08-05 09:16:28 -07:00
ICF.cpp [ELF] Avoid referencing SectionBase::repl after ICF 2021-12-24 12:09:48 -08:00
ICF.h
InputFiles.cpp [ELF] Add ELFFileBase::{elfShdrs,numELFShdrs} to avoid duplicate llvm::object::ELFFile::sections() 2021-12-24 17:10:38 -08:00
InputFiles.h [ELF] Add ELFFileBase::{elfShdrs,numELFShdrs} to avoid duplicate llvm::object::ELFFile::sections() 2021-12-24 17:10:38 -08:00
InputSection.cpp [ELF] Add ELFFileBase::{elfShdrs,numELFShdrs} to avoid duplicate llvm::object::ELFFile::sections() 2021-12-24 17:10:38 -08:00
InputSection.h [ELF] Avoid referencing SectionBase::repl after ICF 2021-12-24 12:09:48 -08:00
LTO.cpp [ELF] LTO: skip expensive usedStartStop initialization if bitcodeFiles.empty() 2021-12-23 01:52:54 -08:00
LTO.h [Coding style change] Rename variables so that they start with a lowercase letter 2019-07-10 05:00:37 +00:00
LinkerScript.cpp Revert "[ELF] Make Partition/InStruct members unique_ptr and remove associate make<XXX>" 2021-12-22 23:55:11 -08:00
LinkerScript.h [ELF] Change some non-null pointer parameters to references. NFC 2021-12-22 20:51:11 -08:00
MapFile.cpp [ELF] Change objectFiles to ELFFileBase * 2021-12-15 00:37:10 -08:00
MapFile.h [ELF] --cref: If -Map is specified, print to the map file 2021-11-29 14:14:53 -08:00
MarkLive.cpp [ELF] Remove stale comment which was duplicated in MarkLive<ELFT>::run 2021-12-23 15:13:46 -08:00
MarkLive.h
Options.td [ELF] Move -l -L canonical and --library-path --library aliases 2021-12-15 21:49:53 -08:00
OutputSections.cpp [ELF] Use SmallVector for some global variables (*Files and *Sections). NFC 2021-12-22 22:30:08 -08:00
OutputSections.h [ELF] Use SmallVector for some global variables (*Files and *Sections). NFC 2021-12-22 22:30:08 -08:00
README.md
Relocations.cpp [ELF] Add ELFFileBase::{elfShdrs,numELFShdrs} to avoid duplicate llvm::object::ELFFile::sections() 2021-12-24 17:10:38 -08:00
Relocations.h Reland D114783/D115603 [ELF] Split scanRelocations into scanRelocations/postScanRelocations 2021-12-14 16:28:41 -08:00
ScriptLexer.cpp [ELF] Optimize ScriptLexer::getLineNumber by caching the previous line number and offset 2021-06-22 15:35:24 -07:00
ScriptLexer.h [ELF] Optimize ScriptLexer::getLineNumber by caching the previous line number and offset 2021-06-22 15:35:24 -07:00
ScriptParser.cpp [ELF] Rename BaseCommand to SectionCommand. NFC 2021-11-25 20:24:23 -08:00
ScriptParser.h [ELF] Improve --export-dynamic-symbol performance by checking whether wildcard is really used 2020-06-17 17:12:10 -07:00
SymbolTable.cpp [ELF] scanVersionScript: remove unused variable 2021-12-23 18:18:25 -08:00
SymbolTable.h [ELF] SymbolTable: change some vector<Symbol *> to SmallVector 2021-12-23 16:49:38 -08:00
Symbols.cpp [ELF] Avoid referencing SectionBase::repl after ICF 2021-12-24 12:09:48 -08:00
Symbols.h [ELF] Avoid referencing SectionBase::repl after ICF 2021-12-24 12:09:48 -08:00
SyntheticSections.cpp [ELF] Avoid referencing SectionBase::repl after ICF 2021-12-24 12:09:48 -08:00
SyntheticSections.h Revert "[ELF] Make Partition/InStruct members unique_ptr and remove associate make<XXX>" 2021-12-22 23:55:11 -08:00
Target.cpp [ELF] Change common diagnostics to report both object file location and source file location 2021-10-28 09:38:45 -07:00
Target.h [ELF] Inline isPPC64SmallCodeModelTocReloc which is only called once. NFC 2021-11-09 20:41:05 -08:00
Thunks.cpp [ELF][PPC32] Support .got2 in an output section description 2021-12-23 11:32:44 -08:00
Thunks.h [lld] Add missing includes (NFC) 2021-06-03 18:55:18 +02:00
Writer.cpp [ELF] Avoid referencing SectionBase::repl after ICF 2021-12-24 12:09:48 -08:00
Writer.h [ELF] Move getOutputSectionName from Writer.cpp to LinkerScript.cpp. NFC 2021-11-20 22:18:09 -08:00

README.md

See docs/NewLLD.rst