This helps us catch cases where we add support for a flag but forget to
remove HelpHidden from Options.td.
More explicit alternative to D92455
Differential D92575
[mac/lld] Run tests with -fatal_warnings by default thakis on Dec 3 2020, 6:38 AM. Authored by
Details
This helps us catch cases where we add support for a flag but forget to More explicit alternative to D92455
Diff Detail
Event TimelineComment Actions I don't think we should add -fatal_warnings to %lld. We should test that whether a diagnostic is a warning or error. Comment Actions The tests that check for warnings (there's currently just one) all use %no_fatal_warnings_lld. That's still testable with this patch. The motivation here is that lld/MachO warns on options that are marked HelpHidden and there were several instances were someone implemented a flag but forgot to remove HelpHidden, and then lld still warned about the flag not being implemented even though it is. This prevents that type of error. Also see discussion on D92455 -- I strongly prefer this patch here over that other one. |