From 523904133894888592a280ff7d0f0579418901f9 Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Thu, 11 Oct 2018 06:53:38 +0000 Subject: [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 --- llvm/tools/llvm-nm/llvm-nm.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/tools/llvm-nm/llvm-nm.cpp') 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 DyldInfoOnly("dyldinfo-only", cl::opt 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; -- cgit v1.2.3