bugpoint: check for -script option.

Fixes #925.
This commit is contained in:
whitequark 2019-05-13 16:55:15 +00:00
parent 5772732a6d
commit c8c1df23a0
1 changed files with 3 additions and 0 deletions

View File

@ -281,6 +281,9 @@ struct BugpointPass : public Pass {
}
extra_args(args, argidx, design);
if (script.empty())
log_cmd_error("Missing -script option.\n");
if (!has_part)
{
modules = true;