Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit d99eb11

Browse files
committed
respect NoVerify when loading multiple files in opt
1 parent cf01c99 commit d99eb11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/opt/opt.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ int main(int argc, char **argv) {
482482
return 1;
483483
}
484484

485-
if (verifyModule(*MM, &errs())) {
485+
if (!NoVerify && verifyModule(*MM, &errs())) {
486486
errs() << argv[0] << ": " << InputFilenames[i]
487487
<< ": error: input module is broken!\n";
488488
return 1;

0 commit comments

Comments
 (0)