Luís Ferreira 22a1aa5a43 [Demangle] Add minimal support for D programming language
This patch adds minimal support for D programming language demangling on LLVM
core based on the D name mangling spec. This will allow easier integration on a
future LLDB plugin for D either in the upstream tree or outside of it.

Minimal support includes recognizing D demangling encoding and at least one
mangling name, which in this case is `_Dmain` mangle.

Reviewed By: jhenderson, lattner

Differential Revision: https://reviews.llvm.org/D111414
2021-11-09 09:29:13 -08:00

11 lines
206 B
Plaintext

RUN: llvm-cxxfilt -n < %s | FileCheck --match-full-lines %s
; Full test suite for dlang demangling at
; llvm/unittests/Demangle/DLangDemangleTest.cpp
CHECK: D main
_Dmain
CHECK: _DDD
_DDD