[all-commits] [llvm/llvm-project] 881872: [analyzer] Add previous CFG block to BlockEntrance...

Balázs Benics via All-commits all-commits at lists.llvm.org
Wed May 21 04:34:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 881872896279338788690ba3f17b6c756ae4b91c
      https://github.com/llvm/llvm-project/commit/881872896279338788690ba3f17b6c756ae4b91c
  Author: Balázs Benics <108414871+balazs-benics-sonarsource at users.noreply.github.com>
  Date:   2025-05-21 (Wed, 21 May 2025)

  Changed paths:
    M clang/include/clang/Analysis/ProgramPoint.h
    M clang/lib/StaticAnalyzer/Core/CoreEngine.cpp
    M clang/test/Analysis/exploration_order/noexprcrash.c

  Log Message:
  -----------
  [analyzer] Add previous CFG block to BlockEntrance ProgramPoints (#140861)

This helps to gain contextual information about how we entered a CFG block.

The `noexprcrash.c` test probably changed due to the fact that now
BlockEntrance ProgramPoint Profile also hashes the pointer of the
previous CFG block. I didn't investigate.

CPP-6483



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list