brintos

brintos / llvm-project-archived public Read only

0
0
Text · 676 B · 8c1f086 Raw
25 lines · plain
1# Test shows that source line breakpoint works with LLDB on demand symbol loading.2 3# UNSUPPORTED: system-windows4# RUN: mkdir -p %t5# RUN: cd %t6# RUN: %build %p/Inputs/basic.cpp -o basic.out7# RUN: %lldb -b -O "settings set symbols.load-on-demand true" -s %s basic.out | FileCheck %s8 9breakpoint list10# CHECK: No breakpoints currently set11 12breakpoint set -f basic.cpp -l 113# CHECK: where = {{.*}}`bar(int, int) + {{.*}} at basic.cpp:114 15breakpoint list16# CHECK: file = 'basic.cpp'17 18run19# CHECK: stop reason = breakpoint20 21bt22# CHECK: {{.*}}`bar(x=33, y=78) at basic.cpp:123# CHECK: {{.*}}`foo(x=33, y=78) at basic.cpp:324# CHECK: {{.*}}`main(argc=1, argv={{.*}}) at basic.cpp:525