[PATCH] D39194: [ARM] Include operand class name in dev diags
Oliver Stannard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 23 15:00:12 PDT 2017
olista01 added a comment.
Normal users will only ever see the "invalid operand for instruction" part of the diagnostic, regardess of whether they have assertions enabled or not. The extra info is only enabled when the -arm-arm-parser-dev-diags option is used (the "if (DevDiags)" check above), which isn't even exposed as a clang option (you'd need to pass it through with -mllvm).
I made these development diagnostics part of the actual ones because otherwise it is hard to correlate the DEBUG/dbgs output with the emitted diagnostics, which they elaborate on.
Repository:
rL LLVM
https://reviews.llvm.org/D39194
More information about the llvm-commits
mailing list