[lldb] Decouple ObjCLanguage from Symtab
authorAlex Langford <apl@fb.com>
Thu, 10 Jun 2021 21:55:25 +0000 (14:55 -0700)
committerAlex Langford <apl@fb.com>
Wed, 23 Jun 2021 20:49:46 +0000 (13:49 -0700)
commit5bebc0b177d0f02af3d8d2b02d182c04763ee468
treebddcdf83c709e688848accdfe9e1ae42d586777b
parent05e48eccdd69fd974010f3a32c56e909d46230d8
[lldb] Decouple ObjCLanguage from Symtab

We can extend/modify `GetMethodNameVariants` to suit our purposes here.
What symtab is looking for is alternate names we may want to use to
search for a specific symbol, and asking for variants of a name makes
the most sense here.

Differential Revision: https://reviews.llvm.org/D104067
lldb/include/lldb/Target/Language.h
lldb/source/Breakpoint/BreakpointResolverName.cpp
lldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
lldb/source/Plugins/Language/ObjC/ObjCLanguage.h
lldb/source/Symbol/CMakeLists.txt
lldb/source/Symbol/Symtab.cpp