[Lldb-commits] [lldb] [lldb] Do not bump memory modificator ID when "internal" debugger memory is updated (PR #129092)

via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 11 09:54:10 PDT 2025


================
@@ -296,6 +296,9 @@ let Definition = "process" in {
     DefaultEnumValue<"eFollowParent">,
     EnumValues<"OptionEnumValues(g_follow_fork_mode_values)">,
     Desc<"Debugger's behavior upon fork or vfork.">;
+  def TrackMemoryCacheChanges: Property<"track-memory-cache-changes", "Boolean">,
+    DefaultTrue,
+    Desc<"If true, memory cache modifications (which happen often during expressions evaluation) will bump process state ID (and invalidate all synthetic children). Disabling this option helps to avoid synthetic children reevaluation when pretty printers heavily use expressions, but convenience variables won't reevaluate synthetic children automatically.">;
----------------
jimingham wrote:

It's a little unclear that the "but" in the last sentence is is the downside to the "helps".   So instead of "but convenience..." you did ".  The downside of this setting is"

https://github.com/llvm/llvm-project/pull/129092


More information about the lldb-commits mailing list