1# RUN: yaml2obj %p/Inputs/debug_rnglist_rlestartend.yaml -o %ttest 2# RUN: lldb-test breakpoints %ttest %s | FileCheck %s 3 4# Test shows that LDLB is able to handle DW_RLE_start_end entries properly. 5 6# The following code and invocation were used to produce asm file. 7# clang -O0 -gdwarf-5 test.cpp -S -o test.s -fuse-ld=lld -ffunction-sections 8# It was edited to use DW_RLE_start_end, compiled and converted to yaml. 9# The yaml was manually reduced. 10# 11# //test.cpp: 12# int zed() { 13# return 1; 14# } 15# 16# int main() { 17# return zed(); 18# } 19# 20# clang and LLD versions were 8.0.0 (trunk 344035) 21 22b main 23# CHECK-LABEL: b main 24# CHECK: Address: {{.*}}`main + 15 at test.cpp:6:10 25 26b zed 27# CHECK-LABEL: b zed 28# CHECK: Address: {{.*}}`zed() + 4 at test.cpp:2:3 29