diff options
author | Weining Lu <luweining@loongson.cn> | 2023-02-07 15:09:04 +0800 |
---|---|---|
committer | Weining Lu <luweining@loongson.cn> | 2023-02-07 15:09:04 +0800 |
commit | 52731683c9a2f4f8138c317201ea68eaedca7225 (patch) | |
tree | 467c464e639aa1213aa87e3ef5b8980accf6cf16 /lldb/unittests | |
parent | 0c4a7352004da149319d2ec9717985c7ba621082 (diff) | |
download | llvm-52731683c9a2f4f8138c317201ea68eaedca7225.tar.gz |
[lldb] Fix typo in LoongArch unittest
Diffstat (limited to 'lldb/unittests')
-rw-r--r-- | lldb/unittests/Instruction/LoongArch/TestLoongArchEmulator.cpp | 2 |
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; |