llvm-project/llvm/lib/Demangle
Tomasz Miąsko 41a6fc8438 [Demangle] Extract nonMicrosoftDemangle from llvm::demangle
Introduce a new demangling function that supports symbols using Itanium
mangling and Rust v0 mangling, and is expected in the near future to
include support for D mangling as well.

Unlike llvm::demangle, the function does not accept extra underscore
decoration. The callers generally know exactly when symbols should
include the extra decoration and so they should be responsible for
stripping it.

Functionally the only intended change is to allow demangling Rust
symbols with an extra underscore decoration through llvm::demangle,
which matches the existing behaviour for Itanium symbols.

Reviewed By: dblaikie, jhenderson

Part of https://reviews.llvm.org/D110664
2021-10-16 13:32:16 +02:00
..
CMakeLists.txt [demangler] Initial support for the new Rust mangling scheme 2021-05-03 16:44:30 -07:00
Demangle.cpp [Demangle] Extract nonMicrosoftDemangle from llvm::demangle 2021-10-16 13:32:16 +02:00
ItaniumDemangle.cpp
MicrosoftDemangle.cpp Demangle: correct swift_async demangling for Microsoft scheme 2021-07-14 11:43:44 -07:00
MicrosoftDemangleNodes.cpp [Clang] Introduce Swift async calling convention. 2021-07-09 11:50:10 -07:00
RustDemangle.cpp [Demangle][Rust] Parse non-ASCII identifiers 2021-10-01 22:08:32 +02:00