llvm-project/lld/ELF
Igor Kudrin ce25eb12dd [ELF] Do not report undefined weak references in shared libraries
This fixes an issue introduced in D101996.

A weak reference in a shared library could be incorrectly reported if
there is another library that has a strong reference to the same symbol.

Differential Revision: https://reviews.llvm.org/D115041
2021-12-07 10:10:51 +07:00
..
Arch [ARM] implement support for ALU/LDR PC-relative group relocations 2021-11-27 10:26:37 +01:00
AArch64ErrataFix.cpp [ELF] Rename BaseCommand to SectionCommand. NFC 2021-11-25 20:24:23 -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] Rename BaseCommand to SectionCommand. NFC 2021-11-25 20:24:23 -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] Update comments/diagnostics for some long options to use the canonical two-dash form 2021-10-25 12:52:06 -07:00
CallGraphSort.h
Config.h [ELF][PPC64] Make --power10-stubs/--no-power10-stubs proper aliases for --power10-stubs={auto,no} 2021-11-26 11:51:45 -08:00
DWARF.cpp [ELF] Replace InputBaseSection::{areRelocsRela,firstRelocation,numRelocation} with relSecIdx 2021-10-27 09:51:07 -07:00
DWARF.h [ELF] --gdb-index: skip SHF_GROUP .debug_info 2020-08-13 09:11:01 -07:00
Driver.cpp [ELF] Change -z unknown from error to warning 2021-11-30 11:06:28 -08:00
Driver.h [LLD] Rename lld port driver entry function to a consistent name 2020-12-18 12:18:37 +05:30
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] Rename BaseCommand to SectionCommand. NFC 2021-11-25 20:24:23 -08:00
ICF.h
InputFiles.cpp [ELF] Do not report undefined weak references in shared libraries 2021-12-07 10:10:51 +07:00
InputFiles.h [ELF] Move ObjFile<ELFT>::{getLocalSymbols,getGlobalSymbols} to non-template ELFFileBase. NFC 2021-11-30 00:50:19 -08:00
InputSection.cpp [ELF] Inline InputSection::getOffset into callers and remove it. NFC 2021-11-28 16:09:04 -08:00
InputSection.h [ELF] Decrease InputSectionBase::entsize to uint32_t 2021-11-28 19:50:33 -08:00
LTO.cpp [ELF] Rename fetch to extract 2021-11-26 10:58:50 -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 [ELF] Simplify some ctx->outSec with sec. NFC 2021-11-28 19:08:27 -08:00
LinkerScript.h [ELF] Simplify/remove LinkerScript::switchTo. NFC 2021-11-28 19:05:15 -08:00
MapFile.cpp [ELF] --cref: If -Map is specified, print to the map file 2021-11-29 14:14:53 -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] Replace InputBaseSection::{areRelocsRela,firstRelocation,numRelocation} with relSecIdx 2021-10-27 09:51:07 -07:00
MarkLive.h
Options.td [ELF] --cref: If -Map is specified, print to the map file 2021-11-29 14:14:53 -08:00
OutputSections.cpp [ELF] Fix out-of-bounds write in memset(&Out::first, ...) 2021-11-28 14:47:57 -08:00
OutputSections.h [ELF] Fix out-of-bounds write in memset(&Out::first, ...) 2021-11-28 14:47:57 -08:00
README.md
Relocations.cpp [ELF][PPC32] Make R_PPC32_PLTREL retain .got 2021-12-02 15:28:37 -08:00
Relocations.h [ELF] Implement TLSDESC for x86-32 2021-10-28 17:52:03 -07: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] Rename fetch to extract 2021-11-26 10:58:50 -08:00
SymbolTable.h [ELF] Apply version script patterns to non-default version symbols 2021-08-04 23:52:56 -07:00
Symbols.cpp [ELF] Simplify Symbol::extract. NFC 2021-11-26 14:10:55 -08:00
Symbols.h [ELF] Rename fetch to extract 2021-11-26 10:58:50 -08:00
SyntheticSections.cpp [ELF] Rename fetch to extract 2021-11-26 10:58:50 -08:00
SyntheticSections.h [ELF] Simplify GnuHashSection::write. NFC 2021-11-25 14:23:25 -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][PPC64] Remove unneeded PPC64PCRelLongBranchThunk 2021-11-30 11:33:17 -08:00
Thunks.h [lld] Add missing includes (NFC) 2021-06-03 18:55:18 +02:00
Writer.cpp [ELF] --cref: If -Map is specified, print to the map file 2021-11-29 14:14:53 -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