blob: a559a978f6b2f38019293ceb1bf1979499679619 [file] [edit]
# REQUIRES: system-darwin
# REQUIRES: python
# Heap scanning reads tagged memory with untagged pointers.
# UNSUPPORTED: lldb-mte
# 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) -> {{.*}}