[PATCH] D15645: Allow multiple debug types in --debug-only

Christof Douma via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 5 05:22:14 PST 2016


christof added a comment.

In http://reviews.llvm.org/D15645#315088, @MatzeB wrote:

> Note that you can already pass -debug-only multiple times to enable output for multiple debug types. Though I guess the variant with commas may be easier to discover.


Yes, I know. I did not change that behaviour. But while debugging the compiler, I found it much easier to add and remove `,pass` then to add `--debug-only=pass`. It is even worse when your input is a C source. That requires the extra `-mllvm` argument to clang. For that reason I wrote this small patch.

Would this be accepted?


Repository:
  rL LLVM

http://reviews.llvm.org/D15645





More information about the llvm-commits mailing list