llvm-nm --help keeps printing whitespace

Hi all,

I merged from the monorepo master this morning and ran all tests and
noticed that llvm/test/tools/llvm-nm/libtool-response-file.test was
failing due to running out of memory. The test in particular just runs
`llvm-nm --help` and running this prints the help info followed by
endless whitespace.

Has anyone else ran into this?

Thanks,
Leonard

After experimenting with my cmake invocation a bit, it seems that I
ran into this problem initially because I included
`-DLLVM_TARGETS_TO_BUILD="ARM;X86;AArch64"` as a cmake argument.
Removing this and rebuilding fixes my problem, but I'm not sure why
this works still since according to the docs, the default value for
this is all targets.

Hi Leonard,

This was a regression caused by r35275. Sorry for the inconvenience - it only showed up if you had the ARM target enabled and not the Hexagon target, due to the help options appearing in those two, so I didn’t discover it myself as I have all targets enabled. I temporarily reverted it earlier (r352848), and I’ve got a fix for it about to go up for review in https://reviews.llvm.org/D57030.

James