[Lldb-commits] [PATCH] D100338: Add a setting that enables memory to be read from the file cache instead of process when the section LLDB is reading from is read-only

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 12 13:17:41 PDT 2021


aprantl added inline comments.
Herald added a subscriber: JDevlieghere.


================
Comment at: lldb/source/Target/TargetProperties.td:180
+    DefaultTrue,
+    Desc<"Enables reading bytes from the file cache instead of process when the address LLDB is reading from falls in a readable but not writable section">;
 }
----------------
What do you think about `FetchReadonlyDataFromFileCache`?

@jasonmolenda: Does this description sound better?

```
    Desc<"Prefer reading read-only data from object files on disk. When debugging remotely this can be much faster than fetching memory from the target, but it might miss modifications performed by the operating system at load time.">;
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100338



More information about the lldb-commits mailing list