The --debug-only option now takes a comma separated list of debug types. This means that the DEBUG_TYPE cannot take a comma anymore. All existing passes conform to this rule.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
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.
Comment Actions
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?