[llvm] [llvm-gsymutil] Replace truncated DWARF names with mangled names from symbol table (PR #184221)

Chen Li via llvm-commits llvm-commits at lists.llvm.org
Wed May 6 20:47:33 PDT 2026


================

----------------
thechenli wrote:

> This will take care of C++ mangled names. But it doesn't handle Swift mangled names.

Done in the latest push. Swift identifiers are length-prefixed like Itanium, so the same token check works — for DWARF name make_ftype, searching for 10make_ftype matches both _Z10make_ftypePci and $s4main10make_ftypeyyF. No demangler needed.

https://github.com/llvm/llvm-project/pull/184221


More information about the llvm-commits mailing list