diff options
| author | Rui Ueyama <ruiu@google.com> | 2017-12-05 00:03:41 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2017-12-05 00:03:41 +0000 |
| commit | be61cc90c481d2a317b5b4daf9fabf03f0cf28d0 (patch) | |
| tree | cc893aff899beaafbf8f7a4df4450c3c39440a55 /polly/lib/Analysis/ScopDetection.cpp | |
| parent | 08803f6b7d6c7c7cbe9a86e39f0de9440a768689 (diff) | |
| download | bcm5719-llvm-be61cc90c481d2a317b5b4daf9fabf03f0cf28d0.tar.gz bcm5719-llvm-be61cc90c481d2a317b5b4daf9fabf03f0cf28d0.zip | |
Make the behavior of the -v option more closer to GNU linkers.
Previously, lld exited with an error status if the only option given to
the command was -v. GNU linkers gracefully exit in that case. This patch
makes lld behave like GNU.
Note that even with this patch, lld's -v and --version options behave
slightly differently than GNU linkers' counterparts. For example,
if you run `ld.bfd -v -v`, the version string is printed out twice.
But that is an edge case that I don't think we need to take care of.
Fixes https://bugs.llvm.org/show_bug.cgi?id=31582
Differential Revision: https://reviews.llvm.org/D40810
llvm-svn: 319717
Diffstat (limited to 'polly/lib/Analysis/ScopDetection.cpp')
0 files changed, 0 insertions, 0 deletions

