28 lines · plain
1# Flaky on Linux, see https://github.com/llvm/llvm-project/issues/1427262# UNSUPPORTED: system-linux3# XFAIL: *4 5# Test disallowed variables inside the6# plugin.cplusplus.display.function-name-format setting.7 8# RUN: split-file %s %t9# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out10# RUN: %lldb -o "settings set interpreter.stop-command-source-on-error false" \11# RUN: -x -b -s %t/commands.input %t.out -o exit 2>&1 \12# RUN: | FileCheck %s13 14#--- main.cpp15int main(int argc, char const *argv[]) { return 0; }16 17#--- commands.input18settings set plugin.cplusplus.display.function-name-format "${function.name-with-args}"19settings set -f frame-format "custom-frame '${function.name-with-args}'\n"20b main21run22 23bt24 25# CHECK: bt26# CHECK-NOT: custom-frame27# CHECK: main28