[lld-macho] Demangle symbol names in duplicate-symbol error when -demangle is specified
authorVy Nguyen <vyng@google.com>
Fri, 3 Jun 2022 20:30:06 +0000 (16:30 -0400)
committerVy Nguyen <vyng@google.com>
Mon, 6 Jun 2022 19:12:26 +0000 (15:12 -0400)
commit66bd14697b11045462534a84b904d956e93ccf06
treec282f4d10dcdc1059f4aa828ada006f0bed82a0c
parentdc1c43d726c87e18fae33cb26f2cd05dbd1fdfa5
[lld-macho] Demangle symbol names in duplicate-symbol error when -demangle is specified

Differential Revision: https://reviews.llvm.org/D127110
lld/MachO/SymbolTable.cpp
lld/test/MachO/invalid/duplicate-symbol.s