[Bug 43091] New: lldb very slow single stepping rep stosb

Bug ID 43091
Summary lldb very slow single stepping rep stosb
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter ntysdd@qq.com
CC jdevlieghere@apple.com, llvm-bugs@lists.llvm.org

When single stepping the asm instructions, I find lldb very slow when
encountering a (large) rep stosb.

The debugger essentially hung.

While I can use Ctrl-C to break the program into debugger, I still can't
continue debugging, because even I put a breakpoint on the next instruction,
and use the "c" command, it is still very slow.

However, if I don't try to single step the rep instruction, and directly put a
breakpoint on the next instruction and use "c", it's way faster.