[Lldb-commits] [PATCH] D130320: Move GetControlFlowKind's logic to DisassemblerLLVMC.cpp

walter erquinigo via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 22 21:52:50 PDT 2022


wallace added a comment.

Just one more change and good to go



================
Comment at: lldb/include/lldb/Core/Disassembler.h:87
+  virtual lldb::InstructionControlFlowKind
+  GetControlFlowKind(const ExecutionContext *exe_ctx) = 0;
 
----------------
could add a default implementation here? 

 {
    return lldb::eInstructionControlFlowKindUnknown;
  }

that way you won't break any other class that extends Instruction.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130320/new/

https://reviews.llvm.org/D130320



More information about the lldb-commits mailing list