[LLDB][LoongArch] Add branch instructions for EmulateInstructionLoongArch
authorHui Li <lihui@loongson.cn>
Fri, 16 Dec 2022 09:48:15 +0000 (17:48 +0800)
committerWeining Lu <luweining@loongson.cn>
Fri, 16 Dec 2022 09:48:37 +0000 (17:48 +0800)
commiteafe2d4cf17b7448db5750aff79ee3bb0158f945
tree513e9a4a4e6a346623ea018b7982d967e854a062
parent2410b1cb83ee68543162a695db89c92282d08f59
[LLDB][LoongArch] Add branch instructions for EmulateInstructionLoongArch

Add conditional and unconditional branch instructions for loongarch64.
Note that this does not include floating-point branch instructions, that will come in a later patch.

Reviewed By: SixWeining, DavidSpickett

Differential Revision: https://reviews.llvm.org/D139833
lldb/source/Plugins/Instruction/LoongArch/EmulateInstructionLoongArch.cpp
lldb/source/Plugins/Instruction/LoongArch/EmulateInstructionLoongArch.h