xref: /llvm-project/lldb/test/Shell/Heap/heap-cstr.test (revision f8d889a789e2ac7012d202971d4e214d0b13949c)
187aa9c9eSJonas Devlieghere# REQUIRES: system-darwin
297edc0dcSJonas Devlieghere# REQUIRES: python
39c739252SPavel Labath# RUN: %clang_host %p/Inputs/cstr.c -g -o %t
487aa9c9eSJonas Devlieghere# RUN: %lldb -b -s %s -f %t | FileCheck %s
587aa9c9eSJonas Devlieghere
687aa9c9eSJonas Devliegherebr set -p return
787aa9c9eSJonas Devliegherecommand script import lldb.macosx.heap
887aa9c9eSJonas Devlieghererun
9*f8d889a7SDave Leecstr_refs "patatino"
10*f8d889a7SDave Lee
11*f8d889a7SDave Lee# CHECK: "cstr_refs", {{.*}} commands have been installed, use the "--help" options on these commands
1287aa9c9eSJonas Devlieghere
1387aa9c9eSJonas Devlieghere# CHECK: {{.*}}: malloc(    16) -> {{.*}}
14