aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorPhilip Pfaffe <philip.pfaffe@gmail.com>2017-07-11 11:17:44 +0000
committerPhilip Pfaffe <philip.pfaffe@gmail.com>2017-07-11 11:17:44 +0000
commitb4d500f1fbcc64e43b25631c3d7dac273099284f (patch)
treecc008f922f2f1bddca5961bafe139a2f6c5082a4 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parentd6bea86029d965c545fe0834aa208cf31cb2ccd4 (diff)
downloadllvm-b4d500f1fbcc64e43b25631c3d7dac273099284f.zip
llvm-b4d500f1fbcc64e43b25631c3d7dac273099284f.tar.gz
llvm-b4d500f1fbcc64e43b25631c3d7dac273099284f.tar.bz2
[PM] Another post-commit fix in NewPMDriver
There were two errors in the parsing of opt's command line options for extension point pipelines. The EP callbacks are not supposed to return a value. To check the pipeline text for correctness, I now try to parse it into a temporary PM object, and print a message on failure. This solves the compile time error for the lambda return type, as well as correctly handles unparsable pipelines now. llvm-svn: 307649
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions