[PATCH] D57030: [CommandLine] Don't print empty sentinel values from EnumValN lists in help text

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 1 02:21:31 PST 2019


jhenderson added a comment.

In D57030#1380259 <https://reviews.llvm.org/D57030#1380259>, @mstorsjo wrote:

> In D57030#1380091 <https://reviews.llvm.org/D57030#1380091>, @mstorsjo wrote:
>
> > This broke the output of `llvm-nm --help`, which now loops (near) infinitely for me (both built with GCC on Ubuntu 16.04 and with Apple Clang on macOS). It's surprising that this doesn't seem to show up for others, as this is actually tested by `test/tools/llvm-nm/libtool-response-file.test`.
>
>
> This only seems to be happening if the AArch64 target is enabled. In `llvm-nm --help`, the output is broken after `-aarch64-neon-syntax=<value>`, after which it just feeds an infinite stream of blank spaces.


How strange. I'm pretty sure I have that target enabled locally. I'll try digging into it, and revert if it's not immediately obvious to allow for more investigation. For the record, I built and ran on both GCC 4.8.2 on Ubuntu 14.04 and Visual Studio 2015 on Windows.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57030/new/

https://reviews.llvm.org/D57030





More information about the llvm-commits mailing list