applyDemangling

fun applyDemangling(graph: Vista, demangle: (String) -> String?): Vista

Populates view.name on non-instruction CodeConstructViews whose underlying construct carries a mangled symbol the demangler can resolve. Instruction views keep their IR labels; their mangledName is the enclosing function symbol, not the instruction's own display identity.

Views whose mangled symbol the demangler can't resolve, or which already have an explicit view.name override, are left untouched.

Generated with STIG