[all-commits] [llvm/llvm-project] 6cbc6e: [LLDB] Add SBInstruction::GetControlFlowKind()
Jakob Johnson via All-commits
all-commits at lists.llvm.org
Tue Aug 2 15:50:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6cbc6e9a6d5f0ef9c406f718dd0c3e6dd6dffeef
https://github.com/llvm/llvm-project/commit/6cbc6e9a6d5f0ef9c406f718dd0c3e6dd6dffeef
Author: Jakob Johnson <johnsonjakob99 at gmail.com>
Date: 2022-08-02 (Tue, 02 Aug 2022)
Changed paths:
M lldb/bindings/interface/SBInstruction.i
M lldb/include/lldb/API/SBInstruction.h
M lldb/source/API/SBInstruction.cpp
M lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py
Log Message:
-----------
[LLDB] Add SBInstruction::GetControlFlowKind()
D128477 adds the control flow kind for `Instruction` and displays this
in the `thread trace dump instruction -k` command.
This diff exposes the control flow kind via the new
`SBInstruction::GetControlFlowKind` method.
I've expanded `TestDisassembleRawData` to test this method, but please
let me know if there are any other unittests that should also be updated.
Test Plan:
`./bin/lldb-dotest -p TestDisassembleRawData`
Differential Revision: https://reviews.llvm.org/D131005
More information about the All-commits
mailing list