jimingham wrote:

Actually, the content-full version of CreateValueFromExpression ALSO takes an 
SBExpressionOptions.  So maybe a better way to do this feature is to add 
`{Get,Set}TryDILFirst` to SBExpressionOptions.  Then the versions of 
CreateValueFromExpression that DON'T take an SBExpressionOption would read the 
Target setting and use that to set the SBExpressionOption value, but there 
would still be a way to control this behavior w/o having to change a global 
setting.

Then we could argue about whether the overloads of EvaluateExpression that 
don't take an SBExpressionOptions should also prime their values from this 
setting.

https://github.com/llvm/llvm-project/pull/222192
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to