[all-commits] [llvm/llvm-project] 111de4: [clang-scan-deps] Move command-line generation out...

Naveen Seth Hanig via All-commits all-commits at lists.llvm.org
Sat Sep 13 09:20:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 111de45e838a7d33637da8807212284c988f7fae
      https://github.com/llvm/llvm-project/commit/111de45e838a7d33637da8807212284c988f7fae
  Author: Naveen Seth Hanig <naveen.hanig at outlook.com>
  Date:   2025-09-13 (Sat, 13 Sep 2025)

  Changed paths:
    M clang/tools/clang-scan-deps/ClangScanDeps.cpp

  Log Message:
  -----------
  [clang-scan-deps] Move command-line generation out of critical section (#158187)

The first call to getBuildArguments() can be costly. Although the
original author’s comment (from commit 3b1a686) states that it should
be called outside the critical section, it is currently invoked within
the locked region.

This change moves it outside the critical section to match the original
intent and reduce lock contention.



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