The only thing that the Common implementation does is a check for
config->demangle, but D135189: [lld/mac] With -demangle, strip leading _ from non-mangled names added that check to
maybeDemangleSymbol, so there's no need to go through Common...
Details
Details
- Reviewers
MaskRay - Group Reviewers
Restricted Project - Commits
- rG316123a2fce2: [lld-macho][nfc] lld/Common's `demangle()` is redundant for Mach-O
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
nit: demangle(symName.str().c_str()); ? (no need to make a new std::string?)