[PATCH] D135038: [lld/mac] Port typo correction for undefined symbols from ELF port

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 07:09:49 PDT 2022


thakis updated this revision to Diff 464674.
thakis added a comment.

make `extern "C"` suggestions actually work

need to account for the additional leading `_` that darwin mangling inserts


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135038/new/

https://reviews.llvm.org/D135038

Files:
  lld/MachO/SymbolTable.cpp
  lld/test/MachO/undef-spell-corrector.s
  lld/test/MachO/undef-suggest-extern-c.s
  lld/test/MachO/undef-suggest-extern-c2.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135038.464674.patch
Type: text/x-patch
Size: 11747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221003/06470494/attachment.bin>


More information about the llvm-commits mailing list