diff options
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp index 4ea8472..13446d5 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp @@ -655,7 +655,7 @@ GetRegistersAsJSON(NativeThreadProtocol &thread) { reg_ctx.GetExpeditedRegisters(ExpeditedRegs::Minimal); #endif if (expedited_regs.empty()) - return llvm::None; + return std::nullopt; for (auto ®_num : expedited_regs) { const RegisterInfo *const reg_info_p = @@ -3658,7 +3658,7 @@ GDBRemoteCommunicationServerLLGS::Handle_qWatchpointSupportInfo( auto hw_debug_cap = m_current_process->GetHardwareDebugSupportInfo(); StreamGDBRemote response; - if (hw_debug_cap == llvm::None) + if (hw_debug_cap == std::nullopt) response.Printf("num:0;"); else response.Printf("num:%d;", hw_debug_cap->second); |