brintos

brintos / llvm-project-archived public Read only

0
0
Text · 625 B · c9da1d4 Raw
27 lines · plain
1# UNSUPPORTED: system-windows2 3# Check that we have an appropriate fallback for ${function.formatted-arguments} in languages that4# don't implement this frame format variable (in this case Objective-C).5#6# RUN: split-file %s %t7# RUN: %clang_host -g -gdwarf %t/main.m -o %t.objc.out8# RUN: %lldb -x -b -s %t/commands.input %t.objc.out -o exit 2>&1 \9# RUN:       | FileCheck %s10 11#--- main.m12 13int func() {}14int bar() { func(); }15 16int main() { return bar(); }17 18#--- commands.input19settings set -f frame-format "custom-frame '${function.formatted-arguments}'\n"20break set -n func21 22run23bt24 25# CHECK: bt26# CHECK-NOT: custom-frame27