25 lines · plain
1# Check that we have an appropriate fallback for ${function.qualifiers} in2# languages that don't implement this frame format variable (in this case Objective-C).3 4# RUN: split-file %s %t5# RUN: %clang_host -g -gdwarf %t/main.m -o %t.objc.out6# RUN: %lldb -x -b -s %t/commands.input %t.objc.out -o exit 2>&1 \7# RUN: | FileCheck %s8 9#--- main.m10 11int foo() {}12int bar() { foo(); }13 14int main() { return bar(); }15 16#--- commands.input17settings set -f frame-format "custom-frame '${function.qualifiers}'\n"18break set -n foo19 20run21bt22 23# CHECK: bt24# CHECK-NOT: custom-frame25