[all-commits] [llvm/llvm-project] f5c4f2: [analyzer] Add -ftime-trace scopes for region-stor...

Arseniy Zaostrovnykh via All-commits all-commits at lists.llvm.org
Thu Feb 6 07:09:36 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f5c4f271abe757ae49ca97475b7b77de56d24f69
      https://github.com/llvm/llvm-project/commit/f5c4f271abe757ae49ca97475b7b77de56d24f69
  Author: Arseniy Zaostrovnykh <necto.ne at gmail.com>
  Date:   2025-02-06 (Thu, 06 Feb 2025)

  Changed paths:
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    M clang/lib/StaticAnalyzer/Core/RegionStore.cpp
    A clang/test/Analysis/ftime-trace-bind.cpp
    A clang/test/Analysis/ftime-trace-removeDead.cpp

  Log Message:
  -----------
  [analyzer] Add -ftime-trace scopes for region-store bindings and removeDead (#125884)

>From investigation of a few slow analysis cases, I discovered that
`RegionStoreManager::bind*` and `ExprEngine::removeDead` are often the
slowest actions. This change adds explicit scope to the time trace
generated by `-ftime-trace` to enable easy diagnostics of the cases when
these functions are the slowdown culprits.

--
CPP-6109



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