Silence fallthrough warnings in debugserver.

llvm-svn: 353468
This commit is contained in:
Adrian Prantl 2019-02-07 21:22:38 +00:00
parent 781d883862
commit 238ce2128c
2 changed files with 5 additions and 2 deletions

View File

@ -47,7 +47,7 @@ module lldb_Host {
module SafeMachO { header "Host/SafeMachO.h" export * }
module SocketAddress { header "Host/SocketAddress.h" export * }
module Socket { header "Host/Socket.h" export * }
module StringConvert { header "Host/StringConvert.h" export * }
module StringConvert { textual header "Host/StringConvert.h" export * }
module Symbols { header "Host/Symbols.h" export * }
module TaskPool { header "Host/TaskPool.h" export * }
module Terminal { header "Host/Terminal.h" export * }

View File

@ -492,6 +492,7 @@ RNBRunLoopMode HandleProcessStateChange(RNBRemote *remote, bool initialize) {
case eStateExited:
remote->HandlePacket_last_signal(NULL);
return eRNBRunLoopModeExit;
case eStateDetached:
return eRNBRunLoopModeExit;
}
@ -1000,7 +1001,8 @@ int main(int argc, char *argv[]) {
case optional_argument:
short_options[short_options_idx++] = ':';
// Fall through to required_argument case below...
short_options[short_options_idx++] = ':';
break;
case required_argument:
short_options[short_options_idx++] = ':';
break;
@ -1670,6 +1672,7 @@ int main(int argc, char *argv[]) {
default:
mode = eRNBRunLoopModeExit;
break;
case eRNBRunLoopModeExit:
break;
}