[Lldb-commits] [lldb] r374545 - [lldb] Insert break to avoid unannotated fall-through

Kadir Cetinkaya via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 11 05:33:47 PDT 2019


Author: kadircet
Date: Fri Oct 11 05:33:47 2019
New Revision: 374545

URL: http://llvm.org/viewvc/llvm-project?rev=374545&view=rev
Log:
[lldb] Insert break to avoid unannotated fall-through

Modified:
    lldb/trunk/source/Plugins/ObjectFile/PECOFF/PECallFrameInfo.cpp

Modified: lldb/trunk/source/Plugins/ObjectFile/PECOFF/PECallFrameInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ObjectFile/PECOFF/PECallFrameInfo.cpp?rev=374545&r1=374544&r2=374545&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ObjectFile/PECOFF/PECallFrameInfo.cpp (original)
+++ lldb/trunk/source/Plugins/ObjectFile/PECOFF/PECallFrameInfo.cpp Fri Oct 11 05:33:47 2019
@@ -425,6 +425,7 @@ int32_t EHProgramRange::GetCFAFrameOffse
     case EHInstruction::Type::PUSH_REGISTER:
     case EHInstruction::Type::ALLOCATE:
       result += it->frame_offset;
+      break;
     default:
       break;
     }




More information about the lldb-commits mailing list