1# RUN: yaml2obj %p/Inputs/debug_rnglistx_rlex.yaml -o %ttest 2# RUN: lldb-test breakpoints %ttest %s | FileCheck %s 3 4# The following code and invocation were used. 5# clang -gdwarf-5 test.cc -o test_v5 -fuse-ld=lld -fno-rtti -O2 -ffunction-sections 6# Then output was converted to yaml and reduced. 7# 8# int bar(int x) { 9# return ++x; 10# } 11# 12# int main() { 13# int y = 1; 14# return bar(y); 15# } 16# 17# clang and LLD versions were 8.0.0 (trunk 345699) 18# 19# Output file contains DW_FORM_rnglistx and DW_RLE_startx_length. 20 21b bar 22b main 23 24# CHECK-LABEL: b bar 25# CHECK: Address: {{.*}}`bar(int) at test.cc:4:11 26 27# CHECK-LABEL: b main 28# CHECK: Address: {{.*}}`main at test.cc:9:3 29