diff options
Diffstat (limited to 'include/lldb/API/SBInstructionList.h')
| -rw-r--r-- | include/lldb/API/SBInstructionList.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/lldb/API/SBInstructionList.h b/include/lldb/API/SBInstructionList.h index 29baef5790eb..0323a3c80c05 100644 --- a/include/lldb/API/SBInstructionList.h +++ b/include/lldb/API/SBInstructionList.h @@ -32,6 +32,15 @@ public: lldb::SBInstruction GetInstructionAtIndex(uint32_t idx); + // ---------------------------------------------------------------------- + // Returns the number of instructions between the start and end address. + // If canSetBreakpoint is true then the count will be the number of + // instructions on which a breakpoint can be set. + // ---------------------------------------------------------------------- + size_t GetInstructionsCount(const SBAddress &start, + const SBAddress &end, + bool canSetBreakpoint = false); + void Clear(); void AppendInstruction(lldb::SBInstruction inst); |
