[Lldb-commits] [PATCH] D76805: Fix SourceManager::SourceFileCache insertion

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 25 17:21:48 PDT 2020


jingham added a comment.

IIUC, you should be able to test the actual effect you are trying to achieve by having a large source file, running "source list" to get it into the File Manager, then try to open the source file for writing in a process in a subshell that won't have the same mmap.  That should fail without the patch (or with the setting turned to cache-on) and succeed with it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76805/new/

https://reviews.llvm.org/D76805





More information about the lldb-commits mailing list