[all-commits] [llvm/llvm-project] 993220: [lldb] Remove CPlusPlusLanguage from Mangled

Alex via All-commits all-commits at lists.llvm.org
Thu Jul 29 14:14:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 993220a99ccef6657d6d5d04dc51c06255f285f2
      https://github.com/llvm/llvm-project/commit/993220a99ccef6657d6d5d04dc51c06255f285f2
  Author: Alex Langford <apl at fb.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M lldb/include/lldb/Target/Language.h
    M lldb/source/Core/Mangled.cpp
    M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
    M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h

  Log Message:
  -----------
  [lldb] Remove CPlusPlusLanguage from Mangled

The only remaining plugin dependency in Mangled is CPlusPlusLanguage which it
uses to extract information from C++ mangled names. The static function
GetDemangledNameWithoutArguments is written specifically for C++, so it
would make sense for this specific functionality to live in a
C++-related plugin. In order to keep this functionality in Mangled
without maintaining this dependency, I added
`Language::GetDemangledFunctionNameWithoutArguments`.

Differential Revision: https://reviews.llvm.org/D105215




More information about the All-commits mailing list