[PATCH] D37736: [ELF] - Do not spread specific flags when emiting output sections.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 10:36:06 PDT 2017


ruiu added a comment.

This is a very obscure way of setting flags to sections. I shouldn't be buried deep inside code like this.

Instead of doing something like this, drop the flag you don't want to propagate to the output when you parse input sections. I believe you can still recall we did something like this for SHF_COMPRESSED until I changed the way of handling it in some patch I submitted a few months ago.


https://reviews.llvm.org/D37736





More information about the llvm-commits mailing list