llvm.org GIT mirror llvm / 8b61abe
[llvm-opt-fuzzer] Fix build after rL324225 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@324232 91177308-0d34-0410-b5e6-96231b3b80d8 Igor Laevsky 1 year, 6 months ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
6666
6767 if (verifyModule(*M, &errs())) {
6868 errs() << "mutation result doesn't pass verification\n";
69 #ifndef NDEBUG
6970 M->dump();
71 #endif
7072 // Avoid adding incorrect test cases to the corpus.
7173 return 0;
7274 }
8991 reinterpret_cast(Buf.data()), Buf.size(), Context);
9092 if (!NewM) {
9193 errs() << "mutator failed to re-read the module\n";
94 #ifndef NDEBUG
9295 M->dump();
96 #endif
9397 return 0;
9498 }
9599