GNU linkers have this option. Fixes https://bugs.llvm.org/show_bug.cgi?id=36205
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 14577 Build 14577: arc lint + arc unit
Event Timeline
Comment Actions
LGTM with the inline comment.
lld/ELF/Options.td | ||
---|---|---|
35–36 | Should these say "section" instead of "segment"? |
Comment Actions
I think the test needs extending to include the "no warning printed" behaviour, specific to --no-check-sections.
Comment Actions
It's an error, not a warning, so just checking for the link to succeed should be enough, right?
Comment Actions
Yes, but this switch shouldn't behave the same as --noinhibit-exec, which produces a warning, hence why I think it's worthwhile testing.
Should these say "section" instead of "segment"?