Bump version to 19.1.0-rc3
[llvm-project.git] / llvm / test / ExecutionEngine / RuntimeDyld / X86 / ELF_x86-64_debug_frame.s
blobe82d0ca7c1a568c9eeb25f74718ae6e23b7f0823
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
5 .text
6 .file "debug_frame_test.c"
7 .align 16, 0x90
8 .type foo,@function
9 foo:
10 .cfi_startproc
11 retq
12 .Ltmp0:
13 .size foo, .Ltmp0-foo
14 .cfi_endproc
15 .cfi_sections .debug_frame
17 # Check that .debug_frame is mapped to 0.
18 # rtdyld-check: section_addr(ELF_x86-64_debug_frame.o, .debug_frame) = 0
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