llvm-project/lld/ELF
Alex Richardson 441410be47 [ELF] Avoid false-positive assert in getErrPlace()
This assertion was added as part of D70659 but did not account for .bss
input sections. I noticed that this assert was incorrectly triggering
while building FreeBSD for MIPS64. Fixed by relaxing the assert to also
account for SHT_NOBITS input sections and adjust the test
mips-jalr-non-function.s to link a file with a .bss section first.

Reviewed By: MaskRay, grimar
Differential Revision: https://reviews.llvm.org/D72567
2020-01-15 14:32:25 +00:00
..
Arch [ELF] Delete the RelExpr member R_HINT. NFC 2020-01-14 10:56:53 -08:00
AArch64ErrataFix.cpp [LLD][ELF][AArch64][ARM] Add missing classof to patch sections. 2019-12-11 14:09:15 +00:00
AArch64ErrataFix.h [ELF] Fix variable names in comments after VariableName -> variableName change 2019-07-16 05:50:45 +00:00
ARMErrataFix.cpp [LLD][ELF][AArch64][ARM] Add missing classof to patch sections. 2019-12-11 14:09:15 +00:00
ARMErrataFix.h [ELF][ARM] Implement --fix-cortex-a8 to fix erratum 657417 2019-09-16 09:38:38 +00:00
CMakeLists.txt [ThinLTO] Pass CodeGenOpts like UnrollLoops/VectorizeLoop/VectorizeSLP 2020-01-09 21:13:11 -08:00
CallGraphSort.cpp Fix a few typos in lld/ELF to cycle bots 2019-10-28 21:41:47 -04:00
CallGraphSort.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Config.h [ELF] Add -z force-ibt and -z shstk for Intel Control-flow Enforcement Technology 2020-01-13 23:39:28 -08:00
DWARF.cpp [ELF] Wrap things in `namespace lld { namespace elf {`, NFC 2019-10-07 08:31:18 +00:00
DWARF.h gdb-index: Wire up str_offsets section to avoid incorrect error message about offsets_base 2019-08-07 22:49:14 +00:00
Driver.cpp [ELF] --exclude-libs: don't assign VER_NDX_LOCAL to undefined symbols 2020-01-14 10:12:28 -08:00
Driver.h [Coding style change] Rename variables so that they start with a lowercase letter 2019-07-10 05:00:37 +00:00
DriverUtils.cpp LLD: Don't use the stderrOS stream in link before it's reassigned. 2019-11-21 10:55:03 -05:00
EhFrame.cpp [ELF] Wrap things in `namespace lld { namespace elf {`, NFC 2019-10-07 08:31:18 +00:00
EhFrame.h [Coding style change] Rename variables so that they start with a lowercase letter 2019-07-10 05:00:37 +00:00
ICF.cpp [lld] Fix trivial typos in comments 2020-01-06 10:25:48 -08:00
ICF.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
InputFiles.cpp [lld] Fix trivial typos in comments 2020-01-06 10:25:48 -08:00
InputFiles.h Forward declare the DWARFCache to avoid including LLVM DWARF details 2019-11-14 14:17:49 -08:00
InputSection.cpp [lld] Fix trivial typos in comments 2020-01-06 10:25:48 -08:00
InputSection.h [ELF] Improve --gc-sections compatibility with GNU ld regarding section groups 2019-11-19 08:54:06 -08:00
LTO.cpp [ThinLTO] Pass CodeGenOpts like UnrollLoops/VectorizeLoop/VectorizeSLP 2020-01-09 21:13:11 -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] Delete redundant isLive() check. NFC 2019-12-15 21:59:55 -08:00
LinkerScript.h Fix a few typos in lld/ELF to cycle bots 2019-10-28 21:41:47 -04:00
MapFile.cpp Make it possible to redirect not only errs() but also outs() 2019-11-18 11:18:06 +09:00
MapFile.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MarkLive.cpp Revert an accidental commit af5ca40b47 2019-12-13 15:17:40 +09:00
MarkLive.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Options.td [ELF] Delete unintended --force-bti 2020-01-13 23:57:00 -08:00
OutputSections.cpp [lld] Fix trivial typos in comments 2020-01-06 10:25:48 -08:00
OutputSections.h [ELF] Make MergeInputSection merging aware of output sections 2019-09-24 11:48:31 +00:00
README.md
Relocations.cpp [ELF] Delete the RelExpr member R_HINT. NFC 2020-01-14 10:56:53 -08:00
Relocations.h [ELF] Delete the RelExpr member R_HINT. NFC 2020-01-14 10:56:53 -08:00
ScriptLexer.cpp [ELF] Wrap things in `namespace lld { namespace elf {`, NFC 2019-10-07 08:31:18 +00:00
ScriptLexer.h [Coding style change] Rename variables so that they start with a lowercase letter 2019-07-10 05:00:37 +00:00
ScriptParser.cpp [ELF] Wrap things in `namespace lld { namespace elf {`, NFC 2019-10-07 08:31:18 +00:00
ScriptParser.h [ELF] Fix variable names in comments after VariableName -> variableName change 2019-07-16 05:50:45 +00:00
SymbolTable.cpp Fix a few typos in lld/ELF to cycle bots 2019-10-28 21:41:47 -04:00
SymbolTable.h [ELF] Replace SymbolTable::forEachSymbol with iterator_range symbols() 2019-11-26 09:09:32 -08:00
Symbols.cpp [ELF] Fix includeInDynsym() when an undefined weak is merged with a lazy definition 2020-01-09 16:24:02 -08:00
Symbols.h [ELF] --icf: do not fold preemptible symbols 2019-12-10 09:06:08 -08:00
SyntheticSections.cpp [ELF] Add -z force-ibt and -z shstk for Intel Control-flow Enforcement Technology 2020-01-13 23:39:28 -08:00
SyntheticSections.h [ELF] Add -z force-ibt and -z shstk for Intel Control-flow Enforcement Technology 2020-01-13 23:39:28 -08:00
Target.cpp [ELF] Avoid false-positive assert in getErrPlace() 2020-01-15 14:32:25 +00:00
Target.h [ELF] Add -z force-ibt and -z shstk for Intel Control-flow Enforcement Technology 2020-01-13 23:39:28 -08:00
Thunks.cpp [ELF][PPC64] Improve "call lacks nop" diagnostic and make it compatible with GCC<5.5 and GCC<6.4 2019-12-29 23:05:11 -08:00
Thunks.h [ELF][PPC32] Implement IPLT code sequence for non-preemptible IFUNC 2019-12-29 22:42:53 -08:00
Writer.cpp [ELF] Add -z force-ibt and -z shstk for Intel Control-flow Enforcement Technology 2020-01-13 23:39:28 -08:00
Writer.h Revert "Revert r370635, it caused PR43241." 2019-09-06 15:57:24 +00:00

README.md

See docs/NewLLD.rst