projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f24fd2
)
[lldb] Silence a GCC warning about missing returns after a fully covered switch....
author
Martin Storsjö
<martin@martin.st>
Tue, 2 Aug 2022 07:28:12 +0000
(10:28 +0300)
committer
Martin Storsjö
<martin@martin.st>
Tue, 2 Aug 2022 07:57:33 +0000
(10:57 +0300)
lldb/source/Core/Disassembler.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Core/Disassembler.cpp
b/lldb/source/Core/Disassembler.cpp
index
4c57be4
..
cc35463
100644
(file)
--- 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,