[PATCH] D6379: Only warn about DWARF2 supporting one section per compilation unit for code sections
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 20 18:27:52 PDT 2020
nickdesaulniers added a comment.
So I rebased this, wrote tests that pass, then tried it on my kernel and...it didn't lower the warning count any. So I probably won't be pursing this revision further. Seems that most of our out of line assembly uses `.section`/`.pushsection` for progbits (or unspecified, which I guess defaults to progbits), but is all compiled with `-Wa,-gdwarf-2`.
I'm not really sure what to do; I assume we still want .debug_line info provided by dwarf2, but it's just so common in our out of line assembly to use multiple different sections. @ostannard any thoughts?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D6379/new/
https://reviews.llvm.org/D6379
More information about the llvm-commits
mailing list