[lldb] Silence a GCC warning about missing returns after a fully covered switch....
authorMartin Storsjö <martin@martin.st>
Tue, 2 Aug 2022 07:28:12 +0000 (10:28 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 2 Aug 2022 07:57:33 +0000 (10:57 +0300)
lldb/source/Core/Disassembler.cpp

index 4c57be4..cc35463 100644 (file)
@@ -599,6 +599,7 @@ const char *Instruction::GetNameForInstructionControlFlowKind(
   case eInstructionControlFlowKindFarJump:
     return "far jump";
   }
+  llvm_unreachable("Fully covered switch above!");
 }
 
 void Instruction::Dump(lldb_private::Stream *s, uint32_t max_opcode_byte_size,