This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Implemented --fatal-warnings option.
ClosedPublic

Authored by grimar on Jul 4 2016, 5:56 AM.

Details

Summary

--fatal-warnings: Treat warnings as errors

Since we temporarily switched reporting of multiple declarations of symbols in
version script from error to warning, this one option seems to be usefull to have.
Also it is usefull itself I think.

Diff Detail

Event Timeline

grimar updated this revision to Diff 62672.Jul 4 2016, 5:56 AM
grimar retitled this revision from to [ELF] - Implemented --fatal-warnings option..
grimar updated this object.
grimar added reviewers: ruiu, rafael.
grimar updated this object.
grimar updated this object.
grimar added subscribers: llvm-commits, grimar.
rafael accepted this revision.Jul 4 2016, 6:30 AM
rafael edited edge metadata.

LGTM

test/ELF/fatal-warnings.s
6

Maybe check that they print the same message?

This revision is now accepted and ready to land.Jul 4 2016, 6:30 AM
This revision was automatically updated to reflect the committed changes.