[Lldb-commits] [lldb] [lldb][Expression] Add API to set/get language-specific expression options (PR #179208)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 2 14:51:01 PST 2026


================
@@ -107,6 +107,10 @@ class LLDB_API SBExpressionOptions {
   // Sets whether we will JIT an expression if it cannot be interpreted
   void SetAllowJIT(bool allow);
 
+  bool GetLanguageOptionAsBoolean(const char *option_name) const;
----------------
adrian-prantl wrote:

This works — or you could have a function that takes an entire dictionary and leave the `AsBoolean` stuff to `SBStructuredData`.

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


More information about the lldb-commits mailing list