Skip to content

BackgroundIndex stores data in the wrong place when CDBs overlap #42014

@sam-mccall

Description

@sam-mccall
Bugzilla Link 42669
Resolution FIXED
Resolved on Jul 22, 2019 11:17
Version unspecified
OS Linux
Blocks #41819

Extended Description

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.

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzillaclangd

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions