[PATCH] D111414: [Demangle] Add minimal support for D programming language

Luís Ferreira via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 8 08:18:55 PDT 2021


ljmf00 created this revision.
ljmf00 added a project: LLVM.
Herald added subscribers: hiraditya, mgorny.
ljmf00 requested review of this revision.
Herald added a subscriber: llvm-commits.

  This patch adds minimal support for D programming language demangling on LLVM
  core by porting libiberty D demangler to LLVM C++ codebase. 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.
  
  Additionally this patch includes a minimal string-handling class for output
  strings generated by D demangler, providing efficient prepending and appending.
  
  Signed-off-by: Luís Ferreira <contact at lsferreira.net>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111414

Files:
  llvm/include/llvm/Demangle/Demangle.h
  llvm/lib/Demangle/CMakeLists.txt
  llvm/lib/Demangle/DLangDemangle.cpp
  llvm/lib/Demangle/Demangle.cpp
  llvm/unittests/Demangle/CMakeLists.txt
  llvm/unittests/Demangle/DLangDemangleTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111414.378224.patch
Type: text/x-patch
Size: 8557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211008/79459e8d/attachment.bin>


More information about the llvm-commits mailing list