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

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 1 02:12:41 PST 2019


mstorsjo added a comment.

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.


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