1 # Test that `thread step-out` fails when the "return address"
2 # points to non-executable memory.
4 # REQUIRES: target-x86_64
5 # UNSUPPORTED: system-windows
7 # RUN: %clang_host %p/Inputs/call-asm.c -x assembler-with-cpp %p/Inputs/thread-step-out-ret-addr-check.s -o %t
8 # RUN: not %lldb %t -s %s -b 2>&1 | FileCheck %s
10 breakpoint set -n nonstandard_stub
11 # CHECK: Breakpoint 1: where = {{.*}}`nonstandard_stub
14 # CHECK: stop reason = breakpoint 1.1
17 # CHECK: Could not create return address breakpoint.
18 # CHECK: Return address (0x{{[a-f0-9]*}}) did not point to executable memory.