summaryrefslogtreecommitdiff
path: root/lldb/test/Shell/Heap/heap-cstr.test
blob: cabf6d6a25aab2cddbc2ddcca2c5a1e24d863381 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# REQUIRES: system-darwin
# REQUIRES: python
# RUN: %clang_host %p/Inputs/cstr.c -g -o %t
# RUN: %lldb -b -s %s -f %t | FileCheck %s

br set -p return
command script import lldb.macosx.heap
run
cstr_refs "patatino"

# CHECK: "cstr_refs", {{.*}} commands have been installed, use the "--help" options on these commands

# CHECK: {{.*}}: malloc(    16) -> {{.*}}