llvm-project/llvm/lib/Demangle
Tomasz Miąsko c8c2b4629f [Demangle][Rust] Parse non-ASCII identifiers
Rust allows use of non-ASCII identifiers, which in Rust mangling scheme
are encoded using Punycode.

The encoding deviates from the standard by using an underscore as the
separator between ASCII part and a base-36 encoding of non-ASCII
characters (avoiding hypen-minus in the symbol name). Other than that,
the encoding follows the standard, and the decoder implemented here in
turn follows the one given in RFC 3492.

To avoid an extra intermediate memory allocation while decoding
Punycode, the interface of OutputStream is extended with an insert
method.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D104366
2021-10-01 22:08:32 +02:00
..
CMakeLists.txt [demangler] Initial support for the new Rust mangling scheme 2021-05-03 16:44:30 -07:00
Demangle.cpp [Demangle] Support Rust v0 mangling scheme in llvm::demangle 2021-06-17 10:37:26 +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