[Lldb-commits] [lldb] 33d0031 - [lldb] Fix unhandled switch case for GOFF in GDBRemoteCommunicationClient
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 11 03:57:36 PDT 2020
Author: Raphael Isemann
Date: 2020-08-11T12:57:18+02:00
New Revision: 33d0031edba2483579b875fc20171cafef2f6a64
URL: https://github.com/llvm/llvm-project/commit/33d0031edba2483579b875fc20171cafef2f6a64
DIFF: https://github.com/llvm/llvm-project/commit/33d0031edba2483579b875fc20171cafef2f6a64.diff
LOG: [lldb] Fix unhandled switch case for GOFF in GDBRemoteCommunicationClient
Just implementing the default case that emits an error to supress the compiler
warning.
Added:
Modified:
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
index c75d5e106cd0..5669b1f4c9a4 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -2120,6 +2120,7 @@ bool GDBRemoteCommunicationClient::GetCurrentProcessInfo(bool allow_lazy) {
case llvm::Triple::COFF:
m_process_arch.SetArchitecture(eArchTypeCOFF, cpu, sub);
break;
+ case llvm::Triple::GOFF:
case llvm::Triple::Wasm:
case llvm::Triple::XCOFF:
LLDB_LOGF(log, "error: not supported target architecture");
More information about the lldb-commits
mailing list