[llvm-bugs] [Bug 46754] New: [11.x branch] clangd writes index to random directories

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 16 10:35:51 PDT 2020


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

            Bug ID: 46754
           Summary: [11.x branch] clangd writes index to random
                    directories
           Product: clang-tools-extra
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: clangd
          Assignee: hans at chromium.org
          Reporter: sammccall at google.com
                CC: kadircetinkaya.06.tr at gmail.com,
                    llvm-bugs at lists.llvm.org

We're accidentally writing index files to `.cache/clangd/index/` relative to
the working directory, instead of relative to the project.
(This appears to be an old latent bug that was recently exposed)

The fix is simple and has been committed on master, but should be cherrypicked
to 11.x

https://github.com/llvm/llvm-project/commit/46c921003c2ce5f1cdc4de9ef613eb001980780c

-- 
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/20200716/f24c6dc6/attachment.html>


More information about the llvm-bugs mailing list