forked from OSchip/llvm-project
[lldb] Rename DemangleWithRichManglingInfo to GetRichManglingInfo (NFC)
This addresses Pavel's comment from D118814.
This commit is contained in:
parent
b4be18219e
commit
edbb0f6df7
|
@ -226,10 +226,9 @@ public:
|
|||
/// Function signature for filtering mangled names.
|
||||
using SkipMangledNameFn = bool(llvm::StringRef, ManglingScheme);
|
||||
|
||||
/// Trigger explicit demangling to obtain rich mangling information. This is
|
||||
/// optimized for batch processing while populating a name index. To get the
|
||||
/// pure demangled name string for a single entity, use GetDemangledName()
|
||||
/// instead.
|
||||
/// Get rich mangling information. This is optimized for batch processing
|
||||
/// while populating a name index. To get the pure demangled name string for
|
||||
/// a single entity, use GetDemangledName() instead.
|
||||
///
|
||||
/// For names that match the Itanium mangling scheme, this uses LLVM's
|
||||
/// ItaniumPartialDemangler. All other names fall back to LLDB's builtin
|
||||
|
@ -248,8 +247,8 @@ public:
|
|||
///
|
||||
/// \return
|
||||
/// True on success, false otherwise.
|
||||
bool DemangleWithRichManglingInfo(RichManglingContext &context,
|
||||
SkipMangledNameFn *skip_mangled_name);
|
||||
bool GetRichManglingInfo(RichManglingContext &context,
|
||||
SkipMangledNameFn *skip_mangled_name);
|
||||
|
||||
/// Try to identify the mangling scheme used.
|
||||
/// \param[in] name
|
||||
|
|
|
@ -195,8 +195,8 @@ static char *GetDLangDemangledStr(const char *M) {
|
|||
|
||||
// Explicit demangling for scheduled requests during batch processing. This
|
||||
// makes use of ItaniumPartialDemangler's rich demangle info
|
||||
bool Mangled::DemangleWithRichManglingInfo(
|
||||
RichManglingContext &context, SkipMangledNameFn *skip_mangled_name) {
|
||||
bool Mangled::GetRichManglingInfo(RichManglingContext &context,
|
||||
SkipMangledNameFn *skip_mangled_name) {
|
||||
// Others are not meant to arrive here. ObjC names or C's main() for example
|
||||
// have their names stored in m_demangled, while m_mangled is empty.
|
||||
assert(m_mangled);
|
||||
|
|
|
@ -328,7 +328,7 @@ void Symtab::InitNameIndexes() {
|
|||
|
||||
const SymbolType type = symbol->GetType();
|
||||
if (type == eSymbolTypeCode || type == eSymbolTypeResolver) {
|
||||
if (mangled.DemangleWithRichManglingInfo(rmc, lldb_skip_name)) {
|
||||
if (mangled.GetRichManglingInfo(rmc, lldb_skip_name)) {
|
||||
RegisterMangledNameEntry(value, class_contexts, backlog, rmc);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue