[PATCH] D67039: [ELF] Add a spell corrector for "undefined symbol" diagnostics

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 1 22:46:44 PDT 2019


MaskRay updated this revision to Diff 218286.
MaskRay added a comment.

Add a new function correctSpelling

(I was thinking if the code can be shared with COFF and wasm. We can define it in lld/Common,
 but the common part is just ~25 lines, and a non-inline function will harm performance)


Repository:
  rLLD LLVM Linker

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

https://reviews.llvm.org/D67039

Files:
  ELF/Relocations.cpp
  test/ELF/undef-spell-corrector.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67039.218286.patch
Type: text/x-patch
Size: 5664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190902/9a4571e5/attachment.bin>


More information about the llvm-commits mailing list