]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lld/ELF/EhFrame.h
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304222, and update
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lld / ELF / EhFrame.h
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