xref: /llvm-project-15.0.7/lld/ELF/EhFrame.h (revision 052d95a6)
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 template <class ELFT> class InputSectionBase;
18 struct EhSectionPiece;
19 
20 template <class ELFT>
21 size_t readEhRecordSize(InputSectionBase<ELFT> *S, size_t Off);
22 template <class ELFT> uint8_t getFdeEncoding(EhSectionPiece *P);
23 }
24 }
25 
26 #endif
27