[PATCH] D139864: [AIX] Demangle the name prefix with '.' in AIX OS for llvm-cxxfilt

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 12:56:50 PDT 2023


hubert.reinterpretcast added a comment.

In D139864#4301235 <https://reviews.llvm.org/D139864#4301235>, @jhenderson wrote:

> Given that the demangling code (not the llvm-cxxfilt code though) is used in various places in LLVM, it's important this dot behaviour goes in the right place. I assume therefore that the dot stripping behaviour belongs in LLVMDemangle, on the basis that I expect tools like llvm-objdump should be able to handle the dot too.

I agree this should be explicitly addressed. For reference, the GNU implementation of `__cxa_demangle` does not accept the leading dot (so the dot handling is at a level closer to the tools).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139864



More information about the llvm-commits mailing list