[Symbolize] Demangle Rust symbols
authorTomasz Miąsko <tomasz.miasko@gmail.com>
Fri, 15 Oct 2021 18:43:55 +0000 (20:43 +0200)
committerTomasz Miąsko <tomasz.miasko@gmail.com>
Sat, 16 Oct 2021 11:32:17 +0000 (13:32 +0200)
commit48ce523a26b7a5a3dc4cff616c93ed951244746b
treeb762fed7a12656f353a8fc2af560e115c82443ed
parenta3813438ae1c2d688f7bccc4501a172f17b7a505
[Symbolize] Demangle Rust symbols

Add support for demangling Rust v0 symbols to LLVM symbolizer by reusing
nonMicrosoftDemangle which supports both Itanium and Rust mangling.

Reviewed By: dblaikie, jhenderson

Part of https://reviews.llvm.org/D110664
llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
llvm/test/DebugInfo/symbolize-demangling.s