[all-commits] [llvm/llvm-project] 22a1aa: [Demangle] Add minimal support for D programming l...

Luís Ferreira via All-commits all-commits at lists.llvm.org
Tue Nov 9 09:29:30 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22a1aa5a43cbdaf9dde014ba1f120e0f7ca1788b
      https://github.com/llvm/llvm-project/commit/22a1aa5a43cbdaf9dde014ba1f120e0f7ca1788b
  Author: Luís Ferreira <contact at lsferreira.net>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M llvm/include/llvm/Demangle/Demangle.h
    M llvm/lib/Demangle/CMakeLists.txt
    A llvm/lib/Demangle/DLangDemangle.cpp
    M llvm/lib/Demangle/Demangle.cpp
    A llvm/test/Demangle/dlang.test
    M llvm/unittests/Demangle/CMakeLists.txt
    A llvm/unittests/Demangle/DLangDemangleTest.cpp
    M llvm/unittests/Demangle/DemangleTest.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list