[PATCH] D36911: TableGen: Add --gen-register-info-debug-dump

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 10:24:38 PDT 2017


MatzeB added a comment.

In https://reviews.llvm.org/D36911#852693, @qcolombet wrote:

> LGTM too.
>  Same comment as Krzysztof, would be nice if the debug printing was more intuitively discoverable (e.g., -debug alongside with -gen-register-info).


The problem with `-gen-register-info -debug` is that I would still expect the C++ to be generated. So we would end up with the C++ register info on stdout and the debug information on stderr? That feels cumbersome.

How about if I rename to `-debug-register-info` to make it more discoverable; i'll also try to show it as a different category on the `--help` output.


Repository:
  rL LLVM

https://reviews.llvm.org/D36911





More information about the llvm-commits mailing list