[PATCH] D65587: [analyzer] StackFrameContext: Add NodeBuilderContext::blockCount() to its profile

Csaba Dabis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 1 09:48:00 PDT 2019


Charusso created this revision.
Charusso added a reviewer: NoQ.
Charusso added a project: clang.
Herald added subscribers: cfe-commits, dkrupp, donat.nagy, Szelethus, mikhail.ramalho, a.sidorin, zzheng, szepet, baloghadamsoftware, xazax.hun.

With this addition we can distinguish between `StackSpaceRegions`,
as they hold `StackFrameContexts` part of their identity.

Thanks to Artem Dergachev for the great idea!


Repository:
  rC Clang

https://reviews.llvm.org/D65587

Files:
  clang/include/clang/Analysis/AnalysisDeclContext.h
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
  clang/lib/Analysis/AnalysisDeclContext.cpp
  clang/lib/StaticAnalyzer/Core/CallEvent.cpp
  clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
  clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
  clang/test/Analysis/loop-block-counts.c
  clang/test/Analysis/loop-unrolling.cpp
  clang/test/Analysis/stack-frame-context-revision.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65587.212842.patch
Type: text/x-patch
Size: 14170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190801/5ee47d25/attachment-0001.bin>


More information about the cfe-commits mailing list