hanchenye-llvm-project/llvm/lib/LTO
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
..
CMakeLists.txt
Caching.cpp [ThinLTO] Update ThinLTO cache file atimes when on Windows 2018-07-04 14:17:10 +00:00
LLVMBuild.txt
LTO.cpp Add a flag to remap manglings when reading profile data information. 2018-10-10 23:13:47 +00:00
LTOBackend.cpp [NewPM] teach -passes= to emit meaningful error messages 2018-10-17 10:36:23 +00:00
LTOCodeGenerator.cpp [PassTiming] cleaning up legacy PassTimingInfo interface. NFCI. 2018-09-26 13:01:43 +00:00
LTOModule.cpp
ThinLTOCodeGenerator.cpp llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) 2018-09-27 02:13:45 +00:00
UpdateCompilerUsed.cpp [LTO] Account for overriding lib calls via the alias attribute 2018-10-10 22:54:31 +00:00