brintos

brintos / llvm-project-archived public Read only

0
0
Text · 646 B · 40c518f Raw
29 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t4# RUN: ld.lld %t -o %t2 --icf=all --eh-frame-hdr5# RUN: llvm-objdump -s --section-headers %t2 | FileCheck %s6 7## Check .eh_frame_hdr contains single FDE and no garbage data at tail.8# CHECK: Sections:9# CHECK: Idx Name          Size10# CHECK:     .eh_frame_hdr 0000001411 12# CHECK: Contents of section .eh_frame_hdr:13# CHECK-NEXT: 200158 011b033b 14000000 0100000014#                                      ^ FDE count15 16.globl f1, f217 18.section .text.f1, "ax"19f1:20  .cfi_startproc21  ret22  .cfi_endproc23 24.section .text.f2, "ax"25f2:26  .cfi_startproc27  ret28  .cfi_endproc29