llvm-project/lldb/lit/Heap/heap-cstr.test

11 lines
229 B
Plaintext

# REQUIRES: system-darwin
# RUN: %clang %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 "patatino"
# CHECK: {{.*}}: malloc( 16) -> {{.*}}