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

            Bug ID: 41091
           Summary: getStatValue() assertion crashing clangd
           Product: clang-tools-extra
           Version: unspecified
          Hardware: HP
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: clangd
          Assignee: unassignedclangb...@nondot.org
          Reporter: juliehock...@google.com
                CC: llvm-bugs@lists.llvm.org

Created attachment 21608
  --> https://bugs.llvm.org/attachment.cgi?id=21608&action=edit
Reproducer script

We're finding that an assertion fires in clangd on ToT (r356309). The script
attached generates the following error:

clangd:
/usr/local/google/home/juliehockett/llvm/llvm-project/clang/lib/Basic/FileManager.cpp:231:
const clang::FileEntry *clang::FileManager::getFile(llvm::StringRef, bool,
bool): Assertion `NamedFileEnt.second == &UFE && "filename from getStatValue()
refers to wrong file"' failed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to