llvm-readelf prints default versions with @@ prefix.
This patch does the same for llvm-nm.
Depends on https://reviews.llvm.org/D95219
Paths
| Differential D94912
[llvm-nm][ELF] - Use @@ prefix when printing default versions. ClosedPublic Authored by grimar on Jan 18 2021, 5:44 AM.
Details Summary llvm-readelf prints default versions with @@ prefix. Depends on https://reviews.llvm.org/D95219
Diff Detail
Event Timeline
Comment Actions Seems reasonable in principle.
This revision is now accepted and ready to land.Jan 22 2021, 9:05 AM Closed by commit rGdb92d47cf70e: [llvm-nm][ELF] - Use @@ prefix when printing default versions. (authored by grimar). · Explain WhyJan 26 2021, 1:17 AM This revision was automatically updated to reflect the committed changes. grimar marked an inline comment as done.
Revision Contents
Diff 319237 llvm/test/tools/llvm-nm/dynamic.test
llvm/tools/llvm-nm/llvm-nm.cpp
|
A default version (@@) is only available for defined symbols.
Undefined symbols should use @ everywhere.
(I reported a similar bug to GNU readelf --dyn-syms some time last year)