Index: test/tools/llvm-nm/libtool-response-file.test =================================================================== --- /dev/null +++ test/tools/llvm-nm/libtool-response-file.test @@ -0,0 +1,4 @@ +RUN: llvm-nm --help | FileCheck %s +Check that the output of llvm-nm --help contains the literal text @FILE; this +indicates to libtool that llvm-nm does support response files. +CHECK: @FILE Index: tools/llvm-nm/llvm-nm.cpp =================================================================== --- tools/llvm-nm/llvm-nm.cpp +++ tools/llvm-nm/llvm-nm.cpp @@ -183,6 +183,8 @@ 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;