[Lldb-commits] [lldb] [lldb-dap] Show assembly depending on `stop-disassembly-display` settings (PR #136494)
Ely Ronnen via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 23 18:04:15 PDT 2025
================
@@ -37,6 +37,18 @@ void OptionValueEnumeration::DumpValue(const ExecutionContext *exe_ctx,
}
}
+llvm::json::Value
+OptionValueEnumeration::ToJSON(const ExecutionContext *exe_ctx) {
+ const size_t count = m_enumerations.GetSize();
+ for (size_t i = 0; i < count; ++i) {
+ if (m_enumerations.GetValueAtIndexUnchecked(i).value == m_current_value) {
+ return m_enumerations.GetCStringAtIndex(i).GetStringRef();
+ }
----------------
eronnen wrote:
:100:
https://github.com/llvm/llvm-project/pull/136494
More information about the lldb-commits
mailing list