[lld] [ELF] adjustOutputSections: don't copy SHF_EXECINSTR when an output does not contain input sections (PR #70911)

Andreu Carminati via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 1 02:46:05 PDT 2023


andcarminati wrote:

Hi, I think this PR improves LLD by giving consistent behavior by removing the X flag. But I think that @smithp35 pointed out an interesting improvement (maybe for the future) to include W in specific situations. Semantically, some specific NOLOAD/NOBITS can also have W because they don't provide useful data to be read-only.

https://github.com/llvm/llvm-project/pull/70911


More information about the llvm-commits mailing list