mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 06:46:07 +00:00

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
11 lines
206 B
Plaintext
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
|