diff options
Diffstat (limited to 'llvm/tools/llvm-reduce/llvm-reduce.cpp')
-rw-r--r-- | llvm/tools/llvm-reduce/llvm-reduce.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/tools/llvm-reduce/llvm-reduce.cpp b/llvm/tools/llvm-reduce/llvm-reduce.cpp index 07a04a6..8f064bc 100644 --- a/llvm/tools/llvm-reduce/llvm-reduce.cpp +++ b/llvm/tools/llvm-reduce/llvm-reduce.cpp @@ -101,7 +101,8 @@ static cl::opt<int> static codegen::RegisterCodeGenFlags CGF; -bool isReduced(ReducerWorkItem &M, const TestRunner &Test); +bool isReduced(ReducerWorkItem &M, const TestRunner &Test, + const std::atomic<bool> &Killed); /// Turn off crash debugging features /// @@ -217,7 +218,7 @@ int main(int Argc, char **Argv) { // test, rather than evaluating the source IR directly. This is for the // convenience of lit tests; the stripped out comments may have broken the // interestingness checks. - if (!isReduced(Tester.getProgram(), Tester)) { + if (!isReduced(Tester.getProgram(), Tester, std::atomic<bool>())) { errs() << "\nInput isn't interesting! Verify interesting-ness test\n"; return 1; } |