[PATCH] D16092: [Coverage] Do not allocate memory for coverage map data (Linux)
Dave Bozier via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 16 11:20:36 PST 2016
davidb added a comment.
> As regarding the note section format, AFAIK, there is no formal
> specification in ELF. The organization mentioned in the document is
> for illustration purpose only.
>
> thanks,
>
> David
I have found this description of note section in almost every ELF file format document I have, including the System V gABI. The GNU binutils such as readelf expect sections of SHT_NOTE to be in this format and will try to process it as such.
marking these sections in linker script with a KEEP directive sounds like a much more appropriate fix.
http://reviews.llvm.org/D16092
More information about the llvm-commits
mailing list