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 @@ -226,10 +226,9 @@ class Mangled {
226
226
// / Function signature for filtering mangled names.
227
227
using SkipMangledNameFn = bool (llvm::StringRef, ManglingScheme);
228
228
229
- // / Trigger explicit demangling to obtain rich mangling information. This is
230
- // / optimized for batch processing while populating a name index. To get the
231
- // / pure demangled name string for a single entity, use GetDemangledName()
232
- // / instead.
229
+ // / Get rich mangling information. This is optimized for batch processing
230
+ // / while populating a name index. To get the pure demangled name string for
231
+ // / a single entity, use GetDemangledName() instead.
233
232
// /
234
233
// / For names that match the Itanium mangling scheme, this uses LLVM's
235
234
// / ItaniumPartialDemangler. All other names fall back to LLDB's builtin
@@ -248,8 +247,8 @@ class Mangled {
248
247
// /
249
248
// / \return
250
249
// / True on success, false otherwise.
251
- bool DemangleWithRichManglingInfo (RichManglingContext &context,
252
- SkipMangledNameFn *skip_mangled_name);
250
+ bool GetRichManglingInfo (RichManglingContext &context,
251
+ SkipMangledNameFn *skip_mangled_name);
253
252
254
253
// / Try to identify the mangling scheme used.
255
254
// / \param[in] name
Original file line number Diff line number Diff line change @@ -195,8 +195,8 @@ static char *GetDLangDemangledStr(const char *M) {
195
195
196
196
// Explicit demangling for scheduled requests during batch processing. This
197
197
// makes use of ItaniumPartialDemangler's rich demangle info
198
- bool Mangled::DemangleWithRichManglingInfo (
199
- RichManglingContext &context, SkipMangledNameFn *skip_mangled_name) {
198
+ bool Mangled::GetRichManglingInfo (RichManglingContext &context,
199
+ SkipMangledNameFn *skip_mangled_name) {
200
200
// Others are not meant to arrive here. ObjC names or C's main() for example
201
201
// have their names stored in m_demangled, while m_mangled is empty.
202
202
assert (m_mangled);
Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ void Symtab::InitNameIndexes() {
328
328
329
329
const SymbolType type = symbol->GetType ();
330
330
if (type == eSymbolTypeCode || type == eSymbolTypeResolver) {
331
- if (mangled.DemangleWithRichManglingInfo (rmc, lldb_skip_name)) {
331
+ if (mangled.GetRichManglingInfo (rmc, lldb_skip_name)) {
332
332
RegisterMangledNameEntry (value, class_contexts, backlog, rmc);
333
333
continue ;
334
334
}
You can’t perform that action at this time.
0 commit comments