[Lldb-commits] [lldb] [lldb] Do not bump memory modificator ID when "internal" debugger memory is updated (PR #129092)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 20 01:47:21 PDT 2025
labath wrote:
> So having a way to indicate you need the faster vrs. the more bullet-proof behavior might be an acceptable solution. You might even argue that the setting should be "bullet-proof behavior" by default. If you are shipping a data formatter that benefits from this setting, you can also set the setting in the module that installs the data formatters...
Or make it an expression flag that can be set (in SBExpressionOptions) on expressions that you know are safe.
(But generally yes, it's better (and faster) to avoid expression evaluation altogether. I don't know how many data formatters are you dealing with, but I would recommend changing them to not do that.)
https://github.com/llvm/llvm-project/pull/129092
More information about the lldb-commits
mailing list