[lldb/gdb-remote] Fix -Wswitch after D116462
authorFangrui Song <i@maskray.me>
Wed, 20 Apr 2022 01:01:06 +0000 (18:01 -0700)
committerFangrui Song <i@maskray.me>
Wed, 20 Apr 2022 01:01:06 +0000 (18:01 -0700)
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp

index 0ffc328..7881852 100644 (file)
@@ -2228,6 +2228,7 @@ bool GDBRemoteCommunicationClient::GetCurrentProcessInfo(bool allow_lazy) {
           m_process_arch.SetArchitecture(eArchTypeCOFF, cpu, sub);
           break;
         case llvm::Triple::GOFF:
+        case llvm::Triple::SPIRV:
         case llvm::Triple::Wasm:
         case llvm::Triple::XCOFF:
         case llvm::Triple::DXContainer: