[Lldb-commits] [lldb] [lldb][RISCV][test] make atomic region stepping test more robust (PR #156506)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 3 06:54:05 PDT 2025


DavidSpickett wrote:

> Yes, in these tests, execution during the step is inside the inline assembly block, so I hope the mnemonics will be stable.

Understood.

> This patch rewrites the test to avoid this disadvantage. The test now checks the opcode of the instruction after the step instead of the step distance.

So please extend the sentence "This patch rewrites the test to avoid this disadvantage." to state that you do this by avoiding checking for any compiler generated locations.

https://github.com/llvm/llvm-project/pull/156506


More information about the lldb-commits mailing list