[llvm-bugs] [Bug 44710] New: Disable mmap for source files that change under us

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 29 10:48:13 PST 2020


            Bug ID: 44710
           Summary: Disable mmap for source files that change under us
           Product: clang-tools-extra
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: clangd
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sammccall at google.com
                CC: llvm-bugs at lists.llvm.org

b500c49cd4f81f067cda721049cb1fd72a5e7bf5 turns off mmap for source files in
clangd. SourceManager has a habit of crashing when the data changes from under
it, most often when switching git branches.

This is a fairly safe change and eliminates a common crasher, and we've been
shipping this on windows for a while already. We should merge it into 10.x

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/20200129/3b64a6d4/attachment-0001.html>

More information about the llvm-bugs mailing list