[PATCH] D73999: [MC][ELF] Error for sh_type, sh_flags or sh_entsize change
Peter Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 20 10:56:37 PST 2020
psmith added a comment.
I'm a little surprised at different section attributes being considered a warning given previous comments that users often get this wrong, but the GNU as commit does indeed error so I think it will be better to be consistent. I tend towards putting in the effort to get a better error message, yes experienced assembler writers will know what to do, but these people aren't always the ones looking at build failures from CI. With some extra context we could save quite a lot of people a little bit of time. One possible approach would be to see what the impact is on the projects that build from tip of trunk or close to it and proceed according to feeedback.
This may be worth a heads up message to the list so that people have some warning that some of their projects may start failing to build due to errors in assembly that they've got away with up to now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73999/new/
https://reviews.llvm.org/D73999
More information about the llvm-commits
mailing list