[all-commits] [llvm/llvm-project] aefad8: [clangd] Fix data race surfaced in clangd-tsan bui...

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Wed May 8 03:01:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aefad851672e6dd17592895066a39aa5b388e5db
      https://github.com/llvm/llvm-project/commit/aefad851672e6dd17592895066a39aa5b388e5db
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2024-05-08 (Wed, 08 May 2024)

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

  Log Message:
  -----------
  [clangd] Fix data race surfaced in clangd-tsan buildbot

We can have concurrent accesses to same PreambleData (e.g.
code-completion and ast-builds). Hence we need to
deep copy TargetOpts.



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