[all-commits] [llvm/llvm-project] b639eb: [clang][dataflow] Support limits on the SAT solver...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Mon Jun 12 11:35:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b639ebaa8f83dbed8adeae0a178a43d6115c9590
      https://github.com/llvm/llvm-project/commit/b639ebaa8f83dbed8adeae0a178a43d6115c9590
  Author: Yitzhak Mandelbaum <yitzhakm at google.com>
  Date:   2023-06-12 (Mon, 12 Jun 2023)

  Changed paths:
    M clang/include/clang/Analysis/FlowSensitive/WatchedLiteralsSolver.h
    M clang/lib/Analysis/FlowSensitive/WatchedLiteralsSolver.cpp
    M clang/unittests/Analysis/FlowSensitive/SolverTest.cpp

  Log Message:
  -----------
  [clang][dataflow] Support limits on the SAT solver to force timeouts.

This patch allows the client of a `WatchedLiteralsSolver` to specify a
computation limit on the use of the solver. After the limit is exhausted, the
SAT solver times out.

Fixes issues #60265.

Differential Revision: https://reviews.llvm.org/D152732




More information about the All-commits mailing list