[PATCH] D127389: [analyzer] Print the offending function at EndAnalysis crash

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 9 03:42:06 PDT 2022


martong added inline comments.


================
Comment at: clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:616
 void ExprEngine::processEndWorklist() {
+  PrettyStackTraceLocationContext CrashInfo(getRootLocationContext());
   getCheckerManager().runCheckersForEndAnalysis(G, BR, *this);
----------------
Okay, so, at least we will get the name of the top-level function, right? Some comments might be useful here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127389/new/

https://reviews.llvm.org/D127389



More information about the cfe-commits mailing list