summaryrefslogtreecommitdiff
path: root/lldb/unittests
diff options
context:
space:
mode:
authorWeining Lu <luweining@loongson.cn>2023-02-07 15:09:04 +0800
committerWeining Lu <luweining@loongson.cn>2023-02-07 15:09:04 +0800
commit52731683c9a2f4f8138c317201ea68eaedca7225 (patch)
tree467c464e639aa1213aa87e3ef5b8980accf6cf16 /lldb/unittests
parent0c4a7352004da149319d2ec9717985c7ba621082 (diff)
downloadllvm-52731683c9a2f4f8138c317201ea68eaedca7225.tar.gz
[lldb] Fix typo in LoongArch unittest
Diffstat (limited to 'lldb/unittests')
-rw-r--r--lldb/unittests/Instruction/LoongArch/TestLoongArchEmulator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/unittests/Instruction/LoongArch/TestLoongArchEmulator.cpp b/lldb/unittests/Instruction/LoongArch/TestLoongArchEmulator.cpp
index 376af1f01590..f9372ded0133 100644
--- a/lldb/unittests/Instruction/LoongArch/TestLoongArchEmulator.cpp
+++ b/lldb/unittests/Instruction/LoongArch/TestLoongArchEmulator.cpp
@@ -170,7 +170,7 @@ TEST_F(LoongArch64EmulatorTester, testJIRL) {
addr_t old_pc = 0x12000600;
WritePC(old_pc);
// JIRL r1, r12, 0x10
- // | 31 26 | 25 15 | 9 5 | 4 0 |
+ // | 31 26 | 25 10 | 9 5 | 4 0 |
// | 0 1 0 0 1 1 | 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 | 0 1 1 0 0 | 0 0 0 0 1 |
uint32_t inst = 0b01001100000000000100000110000001;
uint32_t offs16 = 0x10;