22 lines · plain
1# RUN: rm -rf %t && mkdir -p %t2# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %t/ELF_x86-64_debug_frame.o %s3# RUN: llvm-rtdyld -triple=x86_64-pc-linux -verify -check=%s %t/ELF_x86-64_debug_frame.o4 5 .text6 .file "debug_frame_test.c"7 .align 16, 0x908 .type foo,@function9foo:10 .cfi_startproc11 retq12.Ltmp0:13 .size foo, .Ltmp0-foo14 .cfi_endproc15 .cfi_sections .debug_frame16 17# Check that .debug_frame is mapped to 0.18# rtdyld-check: section_addr(ELF_x86-64_debug_frame.o, .debug_frame) = 019 20# Check that The relocated FDE's CIE offset also points to zero.21# rtdyld-check: *{4}(section_addr(ELF_x86-64_debug_frame.o, .debug_frame) + 0x1C) = 022