[Lldb-commits] [lldb] r213470 - linux process: silence GCC switch coverage warning

Saleem Abdulrasool compnerd at compnerd.org
Sat Jul 19 22:28:57 PDT 2014


Author: compnerd
Date: Sun Jul 20 00:28:57 2014
New Revision: 213470

URL: http://llvm.org/viewvc/llvm-project?rev=213470&view=rev
Log:
linux process: silence GCC switch coverage warning

Add missing entry for eExecMessage message type to silence GCC switch coverage
warning.

Modified:
    lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.cpp

Modified: lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.cpp?rev=213470&r1=213469&r2=213470&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.cpp Sun Jul 20 00:28:57 2014
@@ -1844,6 +1844,8 @@ ProcessMonitor::StopThread(lldb::tid_t t
 
         switch (message.GetKind())
         {
+            case ProcessMessage::eExecMessage:
+                llvm_unreachable("unexpected message");
             case ProcessMessage::eAttachMessage:
             case ProcessMessage::eInvalidMessage:
                 break;





More information about the lldb-commits mailing list