brintos

brintos / llvm-project-archived public Read only

0
0
Text · 609 B · 03075d8 Raw
27 lines · plain
1# UNSUPPORTED: system-windows2 3# Test the plugin.cplusplus.display.function-name-format setting.4 5# RUN: split-file %s %t6# RUN: %build %t/main.m -o %t.objc.out7# RUN: %lldb -x -b -s %t/commands.input %t.objc.out -o exit 2>&1 \8# RUN:       | FileCheck %s9 10#--- main.m11 12int func(int x) {}13int bar(int y) { func(y); }14 15int main() { return bar(10); }16 17#--- commands.input18settings set plugin.cplusplus.display.function-name-format "this affects C++ only"19settings set -f frame-format "custom-frame '${function.name-with-args}'\n"20break set -l 3 -f main.m21run22 23bt24 25# CHECK: bt26# CHECK-NOT: this affects C++ only27