SuccessChanges

Summary

  1. [ELF] Replace SymbolTable::forEachSymbol with iterator_range symbols() (details)
  2. [ELF] Add a corrector for case mismatch problems (details)
  3. [Object][RISCV][test] Improve DebugInfo/RISCV/relax-debug-frame.ll (details)
Commit a2fc96441788fba1e4709d63677f34ed8e321dae by maskray
[ELF] Replace SymbolTable::forEachSymbol with iterator_range symbols()
D62381 introduced forEachSymbol(). It seems that many call sites cannot
be parallelized because the body shared some states. Replace
forEachSymbol with iterator_range<filter_iterator<...>> symbols() to
simplify code and improve debuggability (std::function calls take some
frames).
It also allows us to use early return to simplify code added in D69650.
Reviewed By: grimar
Differential Revision: https://reviews.llvm.org/D70505
The file was modifiedlld/ELF/MarkLive.cpp
The file was modifiedlld/ELF/Relocations.cpp
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/ELF/LTO.cpp
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/SymbolTable.h
Commit 54a366f5156edc34019d5f04fff6844848d87f99 by maskray
[ELF] Add a corrector for case mismatch problems
Reviewed By: grimar, peter.smith
Differential Revision: https://reviews.llvm.org/D70506
The file was modifiedlld/test/ELF/undef-spell-corrector.s
The file was modifiedlld/ELF/Relocations.cpp
Commit cd9c915d2ac0e6660593c76c63827a4f4d3257d4 by maskray
[Object][RISCV][test] Improve DebugInfo/RISCV/relax-debug-frame.ll
Reviewed By: luismarques
Differential Revision: https://reviews.llvm.org/D70578
The file was modifiedllvm/test/DebugInfo/RISCV/relax-debug-frame.ll