Skip to content

Commit 8dc8bd9

Browse files
committed
fix comment
1 parent aed5258 commit 8dc8bd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/test/API/riscv/step/incomplete_sequence_without_lr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
void __attribute__((naked)) incomplete_cas(int *a, int *b) {
22
// Stop at the first instruction (an sc without a corresponding lr), then make
33
// a step instruction and ensure that execution stops at the next instruction
4-
// (and).
4+
// (and a5, a2, a4).
55
asm volatile("1:\n\t"
66
"sc.w a5, a1, (a3)\n\t"
77
"and a5, a2, a4\n\t"

lldb/test/API/riscv/step/incomplete_sequence_without_sc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
void __attribute__((naked)) incomplete_cas(int *a, int *b) {
22
// Stop at the first instruction (an lr without a corresponding sc), then make
33
// a step instruction and ensure that execution stops at the next instruction
4-
// (and).
4+
// (and a5, a2, a4).
55
asm volatile("1:\n\t"
66
"lr.w a2, (a0)\n\t"
77
"and a5, a2, a4\n\t"

0 commit comments

Comments
 (0)