[PATCH] D152732: [clang][dataflow] Support limits on the SAT solver to force timeouts.

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 12 10:45:39 PDT 2023


ymandel created this revision.
ymandel added reviewers: kinu, xazax.hun, mboehme, sgatev.
Herald added a subscriber: martong.
Herald added a reviewer: NoQ.
Herald added a project: All.
ymandel requested review of this revision.
Herald added a project: clang.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152732

Files:
  clang/include/clang/Analysis/FlowSensitive/WatchedLiteralsSolver.h
  clang/lib/Analysis/FlowSensitive/WatchedLiteralsSolver.cpp
  clang/unittests/Analysis/FlowSensitive/SolverTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152732.530588.patch
Type: text/x-patch
Size: 4440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230612/dca19af3/attachment.bin>


More information about the cfe-commits mailing list