You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
632 B
20 lines
632 B
# Test that `thread step-out` fails when the "return address"
|
|
# points to non-executable memory.
|
|
|
|
# REQUIRES: target-x86_64
|
|
# UNSUPPORTED: system-windows
|
|
# XFAIL: system-freebsd
|
|
|
|
# RUN: %clang_host %p/Inputs/call-asm.c -x assembler-with-cpp %p/Inputs/thread-step-out-ret-addr-check.s -o %t
|
|
# RUN: not %lldb %t -s %s -b 2>&1 | FileCheck %s
|
|
|
|
breakpoint set -n nonstandard_stub
|
|
# CHECK: Breakpoint 1: where = {{.*}}`nonstandard_stub
|
|
|
|
process launch
|
|
# CHECK: stop reason = breakpoint 1.1
|
|
|
|
thread step-out
|
|
# CHECK: Could not create return address breakpoint.
|
|
# CHECK: Return address (0x{{[a-f0-9]*}}) did not point to executable memory.
|