[PATCH] D53587: [clangd] Truncate SymbolID to 16 bytes.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 23 09:42:07 PDT 2018


sammccall created this revision.
sammccall added a reviewer: ioeric.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay, ilya-biryukov.

The goal is 8 bytes, which has a nonzero risk of collisions with huge indexes.
This patch should shake out any issues with truncation at all, we can lower
further later.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D53587

Files:
  clangd/index/Index.cpp
  clangd/index/Index.h
  clangd/index/Serialization.cpp
  unittests/clangd/SerializationTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53587.170684.patch
Type: text/x-patch
Size: 4850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181023/0a492e87/attachment.bin>


More information about the cfe-commits mailing list