summaryrefslogtreecommitdiff
path: root/lldb/test/API/riscv/step/branch.c
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/API/riscv/step/branch.c')
-rw-r--r--lldb/test/API/riscv/step/branch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/test/API/riscv/step/branch.c b/lldb/test/API/riscv/step/branch.c
index 79bf0ca005db..93d6c51ec75e 100644
--- a/lldb/test/API/riscv/step/branch.c
+++ b/lldb/test/API/riscv/step/branch.c
@@ -11,6 +11,7 @@ void __attribute__((naked)) branch_cas(int *a, int *b) {
"xor a5, a2, a5\n\t"
"sc.w a5, a1, (a3)\n\t"
"beqz a5, 1b\n\t"
+ "nop\n\t"
"2:\n\t"
"ret\n\t");
}