1 # RUN: yaml2obj %p/Inputs/debug_rnglist_basic.yaml -o %ttest
2 # RUN: lldb-test breakpoints %ttest %s | FileCheck %s
4 # The following code and invocation were used to produce yaml file,
5 # which was manually reduced after that.
6 # clang -O0 -gdwarf-5 test.cpp -o test -fuse-ld=lld -ffunction-sections
17 # clang and LLD versions were 8.0.0 (trunk 343487)
19 # Output file contains .debug_rnglists section with basic entries:
20 # DW_RLE_start_length and DW_RLE_end_of_list.
21 # If LLDB would not be able to parse the section and entries correctly,
22 # then reported location would be incorrect.
26 # CHECK: Address: {{.*}}`main + 15 at test.cpp:6:9
30 # CHECK: Address: {{.*}}`zed() + 4 at test.cpp:2:2