1# Test shows that symbolic function breakpoint works with LLDB on demand symbol loading. 2 3# UNSUPPORTED: system-windows 4# RUN: mkdir -p %t 5# RUN: cd %t 6# RUN: %build %p/Inputs/basic.cpp -o basic.out 7# RUN: %lldb -b -O "settings set symbols.load-on-demand true" -s %s basic.out | FileCheck %s 8 9breakpoint list 10# CHECK: No breakpoints currently set 11 12b bar 13# CHECK: where = {{.*}}`bar(int, int) + {{.*}} at basic.cpp:1 14 15breakpoint list 16# CHECK: where = {{.*}}`bar(int, int) + {{.*}} at basic.cpp:1 17 18run 19# CHECK: stop reason = breakpoint 20 21bt 22# CHECK: {{.*}}`bar(x=33, y=78) at basic.cpp:1 23# CHECK: {{.*}}`foo(x=33, y=78) at basic.cpp:3 24# CHECK: {{.*}}`main(argc=1, argv={{.*}}) at basic.cpp:5 25