[PATCH] D155992: [clangd] Use xxh3_64bits for background index file digests

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 22 07:12:00 PDT 2023


sammccall added a comment.

These hashes are used in the filenames of index shards, and in the metadata describing dependencies between shards.

So this is an incompatible change to indexing format, you also need to increment `constexpr static uint32_t Version` in Serialization.cpp:460.

(I think this is fine, but not stamping just yet as I want to sync with Kadir on monday - I don't think we have anything that GCs the old shards but probably that shouldn't block this change)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155992



More information about the cfe-commits mailing list