brintos

brintos / llvm-project-archived public Read only

0
0
Text · 749 B · 65f6e1a Raw
29 lines · plain
1# RUN: yaml2obj %p/Inputs/debug_rnglist_rlestartend.yaml -o %ttest2# RUN: lldb-test breakpoints %ttest %s | FileCheck %s3 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-sections8# 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 main23# CHECK-LABEL: b main24# CHECK: Address: {{.*}}`main + 15 at test.cpp:6:1025 26b zed27# CHECK-LABEL: b zed28# CHECK: Address: {{.*}}`zed() + 4 at test.cpp:2:329