[Lldb-commits] [lldb] 05c3b36 - [lldb] Fix a -Wreturn-type warning on gcc
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 20 06:17:36 PST 2019
Author: Pavel Labath
Date: 2019-12-20T15:19:41+01:00
New Revision: 05c3b36bc9a35a8aa3ddd6a912ddceab90c39b4d
URL: https://github.com/llvm/llvm-project/commit/05c3b36bc9a35a8aa3ddd6a912ddceab90c39b4d
DIFF: https://github.com/llvm/llvm-project/commit/05c3b36bc9a35a8aa3ddd6a912ddceab90c39b4d.diff
LOG: [lldb] Fix a -Wreturn-type warning on gcc
Added:
Modified:
lldb/source/Target/ThreadPlanStepRange.cpp
Removed:
################################################################################
diff --git a/lldb/source/Target/ThreadPlanStepRange.cpp b/lldb/source/Target/ThreadPlanStepRange.cpp
index 1db29652aa8b..d1c56165da50 100644
--- a/lldb/source/Target/ThreadPlanStepRange.cpp
+++ b/lldb/source/Target/ThreadPlanStepRange.cpp
@@ -250,6 +250,7 @@ bool ThreadPlanStepRange::StopOthers() {
case lldb::eAllThreads:
return false;
}
+ llvm_unreachable("Unhandled run mode!");
}
InstructionList *ThreadPlanStepRange::GetInstructionsForAddress(
More information about the lldb-commits
mailing list