[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:27:14 PDT 2017


MatzeB added a comment.

In https://reviews.llvm.org/D36911#852699, @MatzeB wrote:

> 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.


Thinking about it some more `-gen-register-info -o /dev/null -debug` may be fine, I'll got with that.


Repository:
  rL LLVM

https://reviews.llvm.org/D36911





More information about the llvm-commits mailing list