llvm-project/lldb/unittests/Language
Alex Langford a65f6aafe2 [lldb] Refactor and rename CPlusPlusLanguage::FindAlternateFunctionManglings
I have 2 goals with this change:
1. Disambiguate between CPlusPlus::FindAlternateFunctionManglings and
   IRExecutionUnit::FindBestAlternateMangledName. These are named very
   similar things, they try to do very similar things, but their
   approaches are different. This change should make it clear that one
   is generating possible alternate manglings (through some
   heuristics-based approach) and the other is finding alternate
   manglings (through searching the SymbolFile for potential matches).
2. Change GenerateAlternateFunctionManglings from a static method in
   CPlusPlusLanguage to a virtual method in Language. This will allow us
   to remove a direct use of CPlusPlusLanguage in IRExecutionUnit,
   further pushing it to be more general. This change doesn't meet this
   goal completely but allows for it to happen later.

Though this doesn't remove IRExecutionUnit's dependency on
CPlusPlusLanguage, it does bring us closer to that goal.

Differential Revision: https://reviews.llvm.org/D109785
2021-09-16 13:13:07 -07:00
..
CLanguages [lldb] Reactivate Objective-C++ plugin 2020-06-19 19:16:46 +02:00
CPlusPlus [lldb] Refactor and rename CPlusPlusLanguage::FindAlternateFunctionManglings 2021-09-16 13:13:07 -07:00
Highlighting [lldb] Reactivate Objective-C++ plugin 2020-06-19 19:16:46 +02:00
CMakeLists.txt [lldb] Reactivate Objective-C++ plugin 2020-06-19 19:16:46 +02:00