[llvm-bugs] [Bug 41091] New: getStatValue() assertion crashing clangd

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 15 18:20:48 PDT 2019


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: unassignedclangbugs at nondot.org
          Reporter: juliehockett at google.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190316/bdf9a868/attachment-0001.html>


More information about the llvm-bugs mailing list