[PATCH] D159539: [NFC] refactor demangle of llvm-nm

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 13:52:59 PDT 2023


MaskRay added a comment.

`llvm::demangle` is used by a lot of ELF tools to assume ELF style mangling where there is no extra prefix.
If XCOFF needs `.`, I think separate functions are needed. You can add a new utility function or extending `demangle` with an optional parameter about XCOFF.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D159539/new/

https://reviews.llvm.org/D159539



More information about the llvm-commits mailing list