[lldb] Add support for recognizing swift mangled names
commitedc64d49de92d33e709bcde1db5670ff430f5fad
authorAlex Langford <alangford@apple.com>
Tue, 22 Aug 2023 00:16:52 +0000 (21 17:16 -0700)
committerAlex Langford <alangford@apple.com>
Tue, 22 Aug 2023 17:28:55 +0000 (22 10:28 -0700)
tree5b5502693231be65ed43903aa0f9fe337ae189c8
parent930e8dea417879679f3fb92dcff3aa43510558e1
[lldb] Add support for recognizing swift mangled names

Apple maintains a downstream fork of lldb in order to support swift
debugging. Much of that support is isolated to its own plugins, but some
of it is exposed in more generic code. I would like to take some of
the swift support we have downstream and move it upstream to llvm.org in
an effort to 1) reduce downstream maintenance burden, and 2) work
towards solidifying the process of adding new language support to lldb.

Differential Revision: https://reviews.llvm.org/D158470
lldb/include/lldb/Core/Mangled.h
lldb/source/Core/Mangled.cpp
lldb/unittests/Core/MangledTest.cpp