24 lines · plain
1# UNSUPPORTED: system-windows2 3# Test the ${function.suffix} frame-format variable.4 5# RUN: split-file %s %t6# RUN: %clangxx_host -g -gdwarf %t/main.cpp -o %t.out7# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \8# RUN: | FileCheck %s9 10#--- main.cpp11void bar() asm("_Z3barv.cold");12void bar() {}13 14int main() { bar(); }15 16#--- commands.input17settings set -f frame-format "custom-frame '${function.suffix}'\n"18break set -n "_Z3barv.cold"19 20run21bt22 23# CHECK: custom-frame ' (.cold)'24