llvm-project/llvm/tools/opt
Fedor Sergeev bd6b2138b9 [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
..
AnalysisWrappers.cpp
BreakpointPrinter.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
BreakpointPrinter.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
CMakeLists.txt Another try to commit 323321 (aggressive instruction combine). 2018-01-25 12:06:32 +00:00
Debugify.cpp [Debugify] Export per-pass debug info loss statistics 2018-07-24 00:41:29 +00:00
Debugify.h [Debugify] Export per-pass debug info loss statistics 2018-07-24 00:41:29 +00:00
GraphPrinters.cpp Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
LLVMBuild.txt
NewPMDriver.cpp [NewPM] teach -passes= to emit meaningful error messages 2018-10-17 10:36:23 +00:00
NewPMDriver.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
PassPrinters.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
PassPrinters.h [Debugify] Move interface definitions to a header, NFC 2018-07-24 00:41:28 +00:00
PrintSCC.cpp
opt.cpp [Debugify] Export per-pass debug info loss statistics 2018-07-24 00:41:29 +00:00