https://bugs.llvm.org/show_bug.cgi?id=44146
Bug ID: 44146
Summary: Incorrect step-over behavior falling through functions
Product: lldb
Version: 9.0
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
$ cat fallthrough.s
.globl main, _main
main:
_main:
push %rbp
main2:
call subroutine
pop %rbp
ret
subroutine:
xor %eax, %eax
ret
$ cc fallthrough.s -o fallthrough
$ lldb ./fallthrough -o 'breakpoint set -n main' -o 'process launch'
On macOS, "next / next" stops at fallthrough`subroutine instead of correctly
stepping over the call.
On Linux, "next" finishes the process instead of stepping one instruction.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
lldb-dev mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev