diff options
author | Raphael Isemann <teemperor@gmail.com> | 2020-08-11 12:47:42 +0200 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2020-08-11 12:57:18 +0200 |
commit | 33d0031edba2483579b875fc20171cafef2f6a64 (patch) | |
tree | 800a24045b77b1712b5352a58e9641e88eb7f0d6 /lldb | |
parent | 8144a7d8fc00c1ed779cb2dfabd826eedb19f296 (diff) | |
download | llvm-33d0031edba2483579b875fc20171cafef2f6a64.zip llvm-33d0031edba2483579b875fc20171cafef2f6a64.tar.gz llvm-33d0031edba2483579b875fc20171cafef2f6a64.tar.bz2 |
[lldb] Fix unhandled switch case for GOFF in GDBRemoteCommunicationClient
Just implementing the default case that emits an error to supress the compiler
warning.
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index c75d5e1..5669b1f 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"); |