Adapt OptTable::PrintHelp change in D51009
authorFangrui Song <maskray@google.com>
Wed, 10 Oct 2018 00:15:36 +0000 (00:15 +0000)
committerFangrui Song <maskray@google.com>
Wed, 10 Oct 2018 00:15:36 +0000 (00:15 +0000)
commit2043a58abeacda130b01fba8f53aacc0915e6b25
tree5bcf4e0157763c9036b7fdc200c938d2d78e2d22
parentd0028238302d6b673ac693cada423c77a1531e0b
Adapt OptTable::PrintHelp change in D51009

Summary: Before, OptTable::PrintHelp append "[options] <inputs>" to its parameter `Help`. It is more flexible to change its semantic to `Usage` and let user customize the usage line.

Reviewers: rupprecht, ruiu, espindola

Reviewed By: rupprecht

Subscribers: emaste, sbc100, arichardson, aheejin, llvm-commits

Differential Revision: https://reviews.llvm.org/D53054

llvm-svn: 344099
lld/COFF/DriverUtils.cpp
lld/ELF/DriverUtils.cpp
lld/lib/Driver/DarwinLdDriver.cpp
lld/wasm/Driver.cpp