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

Digger Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 17:32:18 PDT 2023


DiggerLin added a comment.

In D159539#4649765 <https://reviews.llvm.org/D159539#4649765>, @MaskRay wrote:

> `llvm::demangle` is used by a lot of ELF tools to assume ELF style mangling where there is no extra prefix. I think many don't expect demangling `._Zxxxx` symbols.

  I tried in gnu-c++filt in linux which is elf format in linux OS.  it demangle  `._Zxxxx` symbols.

  bash> /opt/at15.0/bin/powerpc64le-linux-gnu-c++filt ._ZL5func0v
  .func0()




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