[Lldb-commits] [lldb] 5273168 - [lldb] Fix typo in LoongArch unittest

Weining Lu via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 6 23:09:50 PST 2023


Author: Weining Lu
Date: 2023-02-07T15:09:04+08:00
New Revision: 52731683c9a2f4f8138c317201ea68eaedca7225

URL: https://github.com/llvm/llvm-project/commit/52731683c9a2f4f8138c317201ea68eaedca7225
DIFF: https://github.com/llvm/llvm-project/commit/52731683c9a2f4f8138c317201ea68eaedca7225.diff

LOG: [lldb] Fix typo in LoongArch unittest

Added: 
    

Modified: 
    lldb/unittests/Instruction/LoongArch/TestLoongArchEmulator.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/unittests/Instruction/LoongArch/TestLoongArchEmulator.cpp b/lldb/unittests/Instruction/LoongArch/TestLoongArchEmulator.cpp
index 376af1f015905..f9372ded0133b 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;


        


More information about the lldb-commits mailing list