[llvm-bugs] [Bug 42669] New: BackgroundIndex stores data in the wrong place when CDBs overlap

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 18 07:39:29 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42669

            Bug ID: 42669
           Summary: BackgroundIndex stores data in the wrong place when
                    CDBs overlap
           Product: clang-tools-extra
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: clangd
          Assignee: kadircetinkaya.06.tr at gmail.com
          Reporter: sammccall at google.com
                CC: llvm-bugs at lists.llvm.org
            Blocks: 42474

e.g.

src/
  compile_commands.json (symlink to build/compile_commands.json)
  file1.cc (depends on file1.h, build/file2.h)
  file1.h
  build/
     compile_commands.json (
     file2.cc
     file2.h

we expect src/.clangd/index/ to index file1.*, and src/build/.clangd/index/ to
index file2.*. However currently shards are stored next to the TU that created
them, which isn't well-defined.


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=42474
[Bug 42474] [meta] 9.0.0 Release Blockers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190718/fd99034e/attachment-0001.html>


More information about the llvm-bugs mailing list