llvm-mirror/tools/llvm-opt-fuzzer
Fedor Sergeev 99f8b94bce [NewPM] teach -passes= to emit meaningful error messages
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: 344685
2018-10-17 10:36:23 +00:00
..
CMakeLists.txt make add_llvm_fuzzer calls slightly more consisten with other cmake 2018-05-11 17:58:52 +00:00
DummyOptFuzzer.cpp
llvm-opt-fuzzer.cpp [NewPM] teach -passes= to emit meaningful error messages 2018-10-17 10:36:23 +00:00