File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -236,10 +236,9 @@ class Mangled {
236
236
// / Function signature for filtering mangled names.
237
237
using SkipMangledNameFn = bool (llvm::StringRef, ManglingScheme);
238
238
239
- // / Trigger explicit demangling to obtain rich mangling information. This is
240
- // / optimized for batch processing while populating a name index. To get the
241
- // / pure demangled name string for a single entity, use GetDemangledName()
242
- // / instead.
239
+ // / Get rich mangling information. This is optimized for batch processing
240
+ // / while populating a name index. To get the pure demangled name string for
241
+ // / a single entity, use GetDemangledName() instead.
243
242
// /
244
243
// / For names that match the Itanium mangling scheme, this uses LLVM's
245
244
// / ItaniumPartialDemangler. All other names fall back to LLDB's builtin
@@ -258,8 +257,8 @@ class Mangled {
258
257
// /
259
258
// / \return
260
259
// / True on success, false otherwise.
261
- bool DemangleWithRichManglingInfo (RichManglingContext &context,
262
- SkipMangledNameFn *skip_mangled_name);
260
+ bool GetRichManglingInfo (RichManglingContext &context,
261
+ SkipMangledNameFn *skip_mangled_name);
263
262
264
263
// / Try to identify the mangling scheme used.
265
264
// / \param[in] name
Original file line number Diff line number Diff line change @@ -221,8 +221,8 @@ static char *GetRustV0DemangledStr(const char *M) {
221
221
222
222
// Explicit demangling for scheduled requests during batch processing. This
223
223
// makes use of ItaniumPartialDemangler's rich demangle info
224
- bool Mangled::DemangleWithRichManglingInfo (
225
- RichManglingContext &context, SkipMangledNameFn *skip_mangled_name) {
224
+ bool Mangled::GetRichManglingInfo (RichManglingContext &context,
225
+ SkipMangledNameFn *skip_mangled_name) {
226
226
// Others are not meant to arrive here. ObjC names or C's main() for example
227
227
// have their names stored in m_demangled, while m_mangled is empty.
228
228
assert (m_mangled);
Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ void Symtab::InitNameIndexes() {
330
330
331
331
const SymbolType type = symbol->GetType ();
332
332
if (type == eSymbolTypeCode || type == eSymbolTypeResolver) {
333
- if (mangled.DemangleWithRichManglingInfo (rmc, lldb_skip_name)) {
333
+ if (mangled.GetRichManglingInfo (rmc, lldb_skip_name)) {
334
334
RegisterMangledNameEntry (value, class_contexts, backlog, rmc);
335
335
continue ;
336
336
}
You can’t perform that action at this time.
0 commit comments