[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[csmith-project/creduce] 9eb4cd: don't die if clang_binsrch-related passes crash



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/creduce
  Commit: 9eb4cdc927f230499889544b470ad8c0a51d2602
      https://github.com/csmith-project/creduce/commit/9eb4cdc927f230499889544b470ad8c0a51d2602
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2015-03-21 (Sat, 21 Mar 2015)

  Changed paths:
    M creduce/pass_clang_binsrch.pm

  Log Message:
  -----------
  don't die if clang_binsrch-related passes crash

We may not get the number of the available transformation instances
, most likely because those clang-delta passes, e.g.,
replace-function-def-with-decl, crash upon inputs.
If it happens, we return 0 as the count rather than die.