[PATCH] D54487: Implement llvm.commandline named metadata

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 27 11:14:43 PST 2018


scott.linder added a comment.

In D54487#1298669 <https://reviews.llvm.org/D54487#1298669>, @JohnReagan wrote:

> Got it.   Yes, SHT_NOTEs probably don't survive into the final image so SHT_PROGBITS is what was chosen.  I wonder if the linker special cases on the section name to keep it from being part of a load section?  Seems like a waste to read that stuff into memory at image activation time.


As far as I understand it the SHT_PROGBITS won't cause the section to be loaded if it is not also SHF_ALLOC, but I have not actually confirmed this.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54487/new/

https://reviews.llvm.org/D54487





More information about the llvm-commits mailing list