D116279: [lld] Add support for other demanglers other than Itanium, in addition to adding support for other demanglers, also
factored out some of the demangling logic. However, I don't think the
abstraction really carries its weight -- after D135942: [lld-macho][nfc] lld/Common's `demangle()` is redundant for Mach-O, only the ELF
and WASM backends call it with anything other than a non-constant
shouldDemangle argument. The COFF and Mach-O backends were already
doing the should-demangle check before calling demangle().
Details
Details
- Reviewers
MaskRay thakis ljmf00 - Group Reviewers
Restricted Project - Commits
- rG32647c8f53a6: [lld][nfc] Remove lld::demangle() (partial revert of D116279)
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Is using std::string(name) preferable to name.str() ?