14 lines · plain
1# REQUIRES: system-darwin2# REQUIRES: python3# RUN: %clang_host %p/Inputs/cstr.c -g -o %t4# RUN: %lldb -b -s %s -f %t | FileCheck %s5 6br set -p return7command script import lldb.macosx.heap8run9cstr_refs "patatino"10 11# CHECK: "cstr_refs", {{.*}} commands have been installed, use the "--help" options on these commands12 13# CHECK: {{.*}}: malloc( 16) -> {{.*}}14