diff options
author | Martin Storsjo <martin@martin.st> | 2018-10-11 06:53:38 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2018-10-11 06:53:38 +0000 |
commit | 523904133894888592a280ff7d0f0579418901f9 (patch) | |
tree | cf4dd9b413a81b16eb6e2ddc7e6d3f6573067dca /llvm/tools/llvm-nm/llvm-nm.cpp | |
parent | b198e58f67e1de85e70b8af6c0e83a12ec5dacb1 (diff) | |
download | bcm5719-llvm-523904133894888592a280ff7d0f0579418901f9.tar.gz bcm5719-llvm-523904133894888592a280ff7d0f0579418901f9.zip |
[llvm-nm] Include the text "@FILE" in the output of --help
libtool requires this text to be present, in order to conclude that
the tool supports response files. Also add an explicit test of using
response files with llvm-nm.
Differential Revision: https://reviews.llvm.org/D53064
llvm-svn: 344222
Diffstat (limited to 'llvm/tools/llvm-nm/llvm-nm.cpp')
-rw-r--r-- | llvm/tools/llvm-nm/llvm-nm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/llvm-nm/llvm-nm.cpp b/llvm/tools/llvm-nm/llvm-nm.cpp index 7e1fd86d0b0..22fdd4ca85e 100644 --- a/llvm/tools/llvm-nm/llvm-nm.cpp +++ b/llvm/tools/llvm-nm/llvm-nm.cpp @@ -183,6 +183,8 @@ cl::opt<bool> DyldInfoOnly("dyldinfo-only", cl::opt<bool> NoLLVMBitcode("no-llvm-bc", cl::desc("Disable LLVM bitcode reader")); +cl::extrahelp HelpResponse("\nPass @FILE as argument to read options from FILE.\n"); + bool PrintAddress = true; bool MultipleFiles = false; |