diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2022-07-27 20:11:54 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2023-02-08 19:04:48 +0000 |
commit | 972a253a57b6f144b0e4a3e2080a2a0076ec55a0 (patch) | |
tree | a8aeeb0997a0a52500f1fa0644244206cf71df94 /contrib/llvm-project/lldb/include/lldb/Core/Disassembler.h | |
parent | fcaf7f8644a9988098ac6be2165bce3ea4786e91 (diff) | |
parent | 08e8dd7b9db7bb4a9de26d44c1cbfd24e869c014 (diff) | |
download | src-972a253a57b6f144b0e4a3e2080a2a0076ec55a0.tar.gz src-972a253a57b6f144b0e4a3e2080a2a0076ec55a0.zip |
Merge llvm-project main llvmorg-15-init-17826-g1f8ae9d7e7e4
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15-init-17826-g1f8ae9d7e7e4, the last commit before
the upstream release/16.x branch was created.
PR: 265425
MFC after: 2 weeks
Diffstat (limited to 'contrib/llvm-project/lldb/include/lldb/Core/Disassembler.h')
-rw-r--r-- | contrib/llvm-project/lldb/include/lldb/Core/Disassembler.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/llvm-project/lldb/include/lldb/Core/Disassembler.h b/contrib/llvm-project/lldb/include/lldb/Core/Disassembler.h index 2cb983c40d19..b9ac0a5bca39 100644 --- a/contrib/llvm-project/lldb/include/lldb/Core/Disassembler.h +++ b/contrib/llvm-project/lldb/include/lldb/Core/Disassembler.h @@ -83,7 +83,10 @@ public: /// The control flow kind of this instruction, or /// eInstructionControlFlowKindUnknown if the instruction /// can't be classified. - lldb::InstructionControlFlowKind GetControlFlowKind(const ArchSpec &arch); + virtual lldb::InstructionControlFlowKind + GetControlFlowKind(const ExecutionContext *exe_ctx) { + return lldb::eInstructionControlFlowKindUnknown; + } virtual void CalculateMnemonicOperandsAndComment(const ExecutionContext *exe_ctx) = 0; @@ -223,6 +226,9 @@ public: virtual bool IsCall() { return false; } + static const char *GetNameForInstructionControlFlowKind( + lldb::InstructionControlFlowKind instruction_control_flow_kind); + protected: Address m_address; // The section offset address of this instruction // We include an address class in the Instruction class to |