xref: /llvm-project/lldb/test/Shell/Driver/TestPageZeroRead.test (revision 0f02dd34f22650d8af0070e7ad21632525e33da8)
1*0f02dd34SChelsea Cassanova# REQUIRES: system-darwin
2*0f02dd34SChelsea Cassanova# Ensure that the read from memory command doesn't try and read from page zero.
3*0f02dd34SChelsea Cassanova# RUN: %clang_host %p/Inputs/hello.c -g -o a.out
4*0f02dd34SChelsea Cassanova# RUN: %lldb -b a.out -o 'settings set interpreter.stop-command-source-on-error false' -s %s 2>&1 | FileCheck %s
5*0f02dd34SChelsea Cassanovax 0
6*0f02dd34SChelsea Cassanova# CHECK: error: error reading data from section __PAGEZERO
7