1# RUN: rm -rf %t && mkdir -p %t 2# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %t/ELF_x86-64_debug_frame.o %s 3# RUN: llvm-rtdyld -triple=x86_64-pc-linux -verify -check=%s %t/ELF_x86-64_debug_frame.o 4 5 .text 6 .file "debug_frame_test.c" 7 .align 16, 0x90 8 .type foo,@function 9foo: 10 .cfi_startproc 11 retq 12.Ltmp0: 13 .size foo, .Ltmp0-foo 14 .cfi_endproc 15 .cfi_sections .debug_frame 16 17# Check that .debug_frame is mapped to 0. 18# rtdyld-check: section_addr(ELF_x86-64_debug_frame.o, .debug_frame) = 0 19 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) = 0 22