Bug#991169: llvm-nm: --demangle does not work with versioned symbols
Steffen Weinhart
stw392 at blue-cable.de
Fri Jul 16 12:34:16 BST 2021
Package: llvm-12
X-Debbugs-Cc: stw392 at blue-cable.de
Version: 1:12.0.1-1
Severity: normal
File: /usr/bin/llvm-nm-12
Dear Maintainer,
the --demangle option of llvm-nm has no effect on symbols that are
versioned.
It seems like the program tries to demangle the already versioned symbol
name (including the appended @<version>).
For an example, just compare the output of "llvm-nm -DC libstdc++.so"
vs. "nm -DC libstdc++.so".
-- System Information:
Debian Release: 11.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-security'), (500,
'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500,
'stable'), (1,'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.13.1 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages llvm-12 depends on:
ii libc6 2.31-12
ii libgcc-s1 11.1.0-1
ii libllvm12 1:12.0.1-1
ii libpfm4 4.11.1+git32-gd0b85fb-1
ii libstdc++6 11.1.0-1
ii libtinfo6 6.2+20201114-2
ii libz3-4 4.8.10-1
ii llvm-12-linker-tools 1:12.0.1-1
ii llvm-12-runtime 1:12.0.1-1
ii zlib1g 1:1.2.11.dfsg-2
Versions of packages llvm-12 recommends:
ii llvm-12-dev 1:12.0.1-1
Versions of packages llvm-12 suggests:
ii llvm-12-doc 1:12.0.1-1
More information about the Pkg-llvm-team
mailing list