This is an archive of the discontinued LLVM Phabricator instance.

llvm-ranlib/nm: Don't print usage message except for usage errors
ClosedPublic

Authored by sbc100 on Nov 8 2019, 11:48 AM.

Details

Summary

Also, fix a bug in ranlib where it didn't correctly detect being run
without any argument and would try to operate on the empty string.

Diff Detail

Event Timeline

sbc100 created this revision.Nov 8 2019, 11:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 8 2019, 11:48 AM
dschuff accepted this revision.Nov 8 2019, 12:50 PM
dschuff added inline comments.
llvm/test/tools/llvm-ar/invalid-object-file.test
10

I'm not sure what this sentence is trying to say. maybe remove "such as"?

This revision is now accepted and ready to land.Nov 8 2019, 12:50 PM
sbc100 updated this revision to Diff 228530.Nov 8 2019, 3:16 PM
  • feedback
This revision was automatically updated to reflect the committed changes.