diff options
| author | Fedor Sergeev <fedor.sergeev@azul.com> | 2018-10-15 15:00:18 +0000 |
|---|---|---|
| committer | Fedor Sergeev <fedor.sergeev@azul.com> | 2018-10-15 15:00:18 +0000 |
| commit | 4155a77e98e151d3f5680475b564f7cfe07cb975 (patch) | |
| tree | ba22911ff008989fad1831f8c6f42355db9fea6b /lldb/packages/Python/lldbsuite/test/issue_verification | |
| parent | 6df0759aad02822aa89143b94c3fc39b0f816025 (diff) | |
| download | bcm5719-llvm-4155a77e98e151d3f5680475b564f7cfe07cb975.tar.gz bcm5719-llvm-4155a77e98e151d3f5680475b564f7cfe07cb975.zip | |
[NewPM] teach -passes= to emit meaningful error messages
Summary:
All the PassBuilder::parse interfaces now return descriptive StringError
instead of a plain bool. It allows to make -passes/aa-pipeline parsing
errors context-specific and thus less confusing.
TODO: ideally we should also make suggestions for misspelled pass names,
but that requires some extensions to PassBuilder.
Reviewed By: philip.pfaffe, chandlerc
Differential Revision: https://reviews.llvm.org/D53246
llvm-svn: 344519
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/issue_verification')
0 files changed, 0 insertions, 0 deletions

