[all-commits] [llvm/llvm-project] 82ca39: Reland "[lld/mac] Port typo correction for undefin...
Nico Weber via All-commits
all-commits at lists.llvm.org
Thu Oct 13 07:34:29 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 82ca390062d11512528e3d357d8d3d7b69477caf
https://github.com/llvm/llvm-project/commit/82ca390062d11512528e3d357d8d3d7b69477caf
Author: Nico Weber <thakis at chromium.org>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
M lld/MachO/SymbolTable.cpp
A lld/test/MachO/undef-spell-corrector.s
A lld/test/MachO/undef-suggest-extern-c.s
A lld/test/MachO/undef-suggest-extern-c2.s
Log Message:
-----------
Reland "[lld/mac] Port typo correction for undefined symbols from ELF port"
The only difference in the reland is that the loop at the top of
getAlternativeSpelling() now calls dyn_cast_or_null() instead
of dyn_cast() -- a file's symbols list can contain null entries.
The test for this might be slightly involved, so I'll land it in
a follow-up, to make the reland similar to the original commit.
Originally reviewed at:
Differential Revision: https://reviews.llvm.org/D135038
This reverts commit 317b5582b813c51d1fb6723fd44b227b7f274bc7.
More information about the All-commits
mailing list