[PATCH] D61117: Fix Bug 41353 - unique symbols printed as D instead of u
Mike Pozulp via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 19 00:30:49 PDT 2019
mmpozulp added a comment.
In D61117#1507698 <https://reviews.llvm.org/D61117#1507698>, @MaskRay wrote:
> BTW, I think `STB_GNU_UNIQUE` is a misfeature (no clear specification, only (complex) implementation is in glibc, interaction with STB_WEAK/STB_GLOBAL is unclear..).. this feature will highlight the problem :)
@MaskRay, it sounds like you know a lot more than I do about this feature :). Do you know what purpose is served by "unique" global symbols? `man nm` shows
> "u" The symbol is a unique global symbol. This is a GNU extension to the
> standard set of ELF symbol bindings. For such a symbol the dynamic
> linker will make sure that in the entire process there is just one
> symbol with this name and type in use.
but without an example I don't understand why this feature is useful. If you, @MaskRay, don't know of an example, then @rupprecht, who asked for this feature <https://bugs.llvm.org/show_bug.cgi?id=41353>, or other knowledgeable people like @grimar and @jhenderson may know of one. Thanks :)
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61117/new/
https://reviews.llvm.org/D61117
More information about the llvm-commits
mailing list