[PATCH] D121797: [clang][dataflow] Add modeling of Chromium's CHECK functionality

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 16 06:00:38 PDT 2022


ymandel created this revision.
ymandel added reviewers: xazax.hun, sgatev.
Herald added subscribers: tschuett, steakhal, rnkovacs, mgorny.
Herald added a project: All.
ymandel requested review of this revision.
Herald added a project: clang.

Chromium's implementation of assertions (`CHECK`, `DCHECK`, etc.) are not
annotated with "noreturn", by default. This patch adds a model of the logical
implications of successfully executing one of these assertions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121797

Files:
  clang/include/clang/Analysis/FlowSensitive/Models/ChromiumCheckModel.h
  clang/lib/Analysis/FlowSensitive/Models/CMakeLists.txt
  clang/lib/Analysis/FlowSensitive/Models/ChromiumCheckModel.cpp
  clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
  clang/unittests/Analysis/FlowSensitive/ChromiumCheckModelTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121797.415796.patch
Type: text/x-patch
Size: 13148 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220316/c5b93483/attachment-0001.bin>


More information about the cfe-commits mailing list