diff options
author | Martin Storsjö <martin@martin.st> | 2022-08-02 10:28:12 +0300 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2022-08-05 01:13:07 -0700 |
commit | e7a776ef4a4588ccd0f69dcbbf2b45f0e23c9f3f (patch) | |
tree | 5f8612f60cce10802588c4828c8a5348aa99e3b6 | |
parent | b5b435517a77d9e7c1b30b827b543d47e195adba (diff) |
[lldb] Silence a GCC warning about missing returns after a fully covered switch. NFC.
(cherry picked from commit b7c5683fac3de2f3349d57b9e133ac53204b1148)
-rw-r--r-- | lldb/source/Core/Disassembler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Core/Disassembler.cpp b/lldb/source/Core/Disassembler.cpp index 4c57be44dc9c..cc354636987c 100644 --- a/lldb/source/Core/Disassembler.cpp +++ b/lldb/source/Core/Disassembler.cpp @@ -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, |