[all-commits] [llvm/llvm-project] 27ade4: Reland "[clangd] Always run preamble indexing on a...

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Wed Jul 19 07:32:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27ade4b554774187d2c0afcf64cd16fa6d5f619d
      https://github.com/llvm/llvm-project/commit/27ade4b554774187d2c0afcf64cd16fa6d5f619d
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M clang-tools-extra/clangd/ClangdServer.cpp
    M clang-tools-extra/clangd/ClangdServer.h
    M clang-tools-extra/clangd/Preamble.cpp

  Log Message:
  -----------
  Reland "[clangd] Always run preamble indexing on a separate thread"

This reverts commit 92c0546941190973e9201a08fa10edf27cb6992d.

Prevents tsan issues by resetting ref-counted-pointers eagerly, before
passing the copies into a new thread.




More information about the All-commits mailing list