This is an archive of the discontinued LLVM Phabricator instance.

Give llvm-lib rudimentary help output.
ClosedPublic

Authored by thakis on Jul 13 2018, 1:20 PM.

Details

Reviewers
pcc

Diff Detail

Event Timeline

thakis created this revision.Jul 13 2018, 1:20 PM
thakis added inline comments.
lib/ToolDrivers/llvm-lib/LibDriver.cpp
126

If this is invoked via bin/lld-link /lib /? then the output is

OVERVIEW: LLVM Lib

USAGE: /lib [options] <inputs>

which is imho ok.

pcc accepted this revision.Jul 13 2018, 1:41 PM

LGTM

Is it worth adding a test?

This revision is now accepted and ready to land.Jul 13 2018, 1:41 PM
thakis closed this revision.Jul 13 2018, 7:34 PM

Thanks! Landed with a test in r337084.