• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3# RUN: echo "SECTIONS { .eh_frame_hdr : {} .eh_frame : {} }" > %t.script
4# RUN: ld.lld -o %t1 --eh-frame-hdr --script %t.script %t
5# RUN: llvm-objdump -s --section=".eh_frame_hdr" %t1 | FileCheck %s
6
7# CHECK:      011b033b 14000000 01000000 4d000000
8# CHECK-NEXT: 30000000
9
10.global _start
11_start:
12 nop
13
14.section .dah,"ax",@progbits
15.cfi_startproc
16 nop
17.cfi_endproc
18