brintos

brintos / llvm-project-archived public Read only

0
0
Text · 669 B · 13bca03 Raw
29 lines · plain
1# RUN: yaml2obj %p/Inputs/debug_rnglistx_rlex.yaml -o %ttest2# RUN: lldb-test breakpoints %ttest %s | FileCheck %s3 4# The following code and invocation were used.5# clang -gdwarf-5 test.cc -o test_v5 -fuse-ld=lld -fno-rtti -O2 -ffunction-sections6# 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 bar22b main23 24# CHECK-LABEL: b bar25# CHECK: Address: {{.*}}`bar(int) at test.cc:4:1126 27# CHECK-LABEL: b main28# CHECK: Address: {{.*}}`main at test.cc:9:329