[all-commits] [llvm/llvm-project] d7e23b: [lldb][RISCV] fix LR/SC atomic sequence handling i...
dlav-sc via All-commits
all-commits at lists.llvm.org
Mon Jun 30 06:28:06 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d7e23bef6ad497cd5a100126957c381e053dda9b
https://github.com/llvm/llvm-project/commit/d7e23bef6ad497cd5a100126957c381e053dda9b
Author: dlav-sc <daniil.avdeev at syntacore.com>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M lldb/include/lldb/Core/EmulateInstruction.h
M lldb/source/Core/EmulateInstruction.cpp
M lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
M lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h
M lldb/source/Plugins/Instruction/LoongArch/EmulateInstructionLoongArch.cpp
M lldb/source/Plugins/Instruction/LoongArch/EmulateInstructionLoongArch.h
M lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.cpp
M lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.h
M lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp
M lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
M lldb/source/Plugins/Process/Utility/NativeProcessSoftwareSingleStep.cpp
M lldb/source/Plugins/Process/Utility/NativeProcessSoftwareSingleStep.h
A lldb/test/API/riscv/step/Makefile
A lldb/test/API/riscv/step/TestSoftwareStep.py
A lldb/test/API/riscv/step/branch.c
A lldb/test/API/riscv/step/incomplete_sequence_without_lr.c
A lldb/test/API/riscv/step/incomplete_sequence_without_sc.c
A lldb/test/API/riscv/step/main.c
M lldb/unittests/Instruction/LoongArch/TestLoongArchEmulator.cpp
Log Message:
-----------
[lldb][RISCV] fix LR/SC atomic sequence handling in lldb-server (#146072)
lldb-server had limited support for single-stepping through the lr/sc
atomic sequence. This patch enhances that support for all possible
atomic sequences.
The previous version contained an incorrect regex pattern in the test,
causing the riscv-specific test to run on other platforms. This reland
fixes the regex (see lldb/test/API/riscv/step/TestSoftwareStep.py)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list