xref: /llvm-project-15.0.7/lld/ELF/EhFrame.h (revision f2a8bccf)
1 //===- EhFrame.h ------------------------------------------------*- C++ -*-===//
2 //
3 //                             The LLVM Linker
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLD_ELF_EHFRAME_H
11 #define LLD_ELF_EHFRAME_H
12 
13 #include "lld/Core/LLVM.h"
14 
15 namespace lld {
16 namespace elf {
17 class InputSectionBase;
18 struct EhSectionPiece;
19 
20 template <class ELFT> size_t readEhRecordSize(InputSectionBase *S, size_t Off);
21 template <class ELFT> uint8_t getFdeEncoding(EhSectionPiece *P);
22 }
23 }
24 
25 #endif
26