Skip to content

Commit

Permalink
demangler: Reorganize for module demangling
Browse files Browse the repository at this point in the history
Module demangling requires some changes in how substitutions are
handled.  This adjusts things to make that possible.

	libiberty/
	* cp-demangle.c (d_name): Add SUBSTABLE parameter,
	push substitution if requested. Adjust unscoped name handling.
	(d_prefix): Reorder main loop. Adjust all calls.
	(d_unqualified_name): Add SCOPE parameter, create qualified
	name here. Adjust all calls.
	(cplus_demangle_type): Do not handle 'S' here, leave all
	to d_class_enum_type.
	(d_class_enum_type): Add SUBSTABLE parameter.
  • Loading branch information
urnathan committed May 18, 2022
1 parent 86f6440 commit 65851d6
Showing 1 changed file with 83 additions and 139 deletions.
Loading

0 comments on commit 65851d6

Please sign in to comment.