summaryrefslogtreecommitdiffstats
path: root/lld/test/elf/eh_frame_hdr.test
blob: 0d6dabeee1616822a5b2fa1e1aa5f68f2f0cf188 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#RUN: yaml2obj -format=elf %s > %t
#RUN: lld -flavor gnu -target x86_64-linux %t --noinhibit-exec \
#RUN:   -o %t1
#RUN: llvm-readobj -s %t1 | FileCheck %s

!ELF
FileHeader:
  Class: ELFCLASS64
  Data: ELFDATA2LSB
  Type: ET_REL
  Machine: EM_X86_64

Sections:
- Name: .eh_frame
  Type: SHT_PROGBITS
  Content: "00"
  AddressAlign: 8
  Flags: [SHF_ALLOC]

Symbols:
  Local:
  - Name: .eh_frame
    Type: STT_SECTION
    Section: .eh_frame

#CHECK: .eh_frame_hdr
OpenPOWER on IntegriCloud