[PATCH] D76482: [lld][ELF] Provide optional hidden symbols for build ID
Roland McGrath via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 30 13:40:27 PDT 2020
mcgrathr added a comment.
The proposed solution with an input linker script is a clever kludge, but it's a kludge. There's no way to make that actually general, since there is no particular named section that you can correctly assume is present in all kinds of binaries you might be linking. The kludge could be locally tailored for different cases, but that is even worse. Since the section and layout we're talking about here is entirely synthesized by the linker, it makes a lot more sense to have the linker support convenience features for using that format directly than to require users to build detailed kludges baking in the details of the linker's built-in synthesizing behavior.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76482/new/
https://reviews.llvm.org/D76482
More information about the llvm-commits
mailing list