19 lines · plain
1# Test that `thread step-out` fails when the "return address"2# points to non-executable memory.3 4# REQUIRES: target-x86_645# UNSUPPORTED: system-windows, ld_new-bug6 7# RUN: %clang_host %p/Inputs/call-asm.c -x assembler-with-cpp %p/Inputs/thread-step-out-ret-addr-check.s -o %t8# RUN: not %lldb %t -s %s -b 2>&1 | FileCheck %s9 10breakpoint set -n nonstandard_stub11# CHECK: Breakpoint 1: where = {{.*}}`nonstandard_stub12 13process launch14# CHECK: stop reason = breakpoint 1.115 16thread step-out17# CHECK: Could not create return address breakpoint.18# CHECK: Return address (0x{{[a-f0-9]*}}) did not point to executable memory.19