blob: 4e2b6f83a294574c181ce47ac6af33924b921fbe [file] [log] [blame]
Rui Ueyamaf5febef2016-05-24 02:55:45 +00001//===- 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
15namespace lld {
16namespace elf {
Rafael Espindolab4c9b812017-02-23 02:28:28 +000017class InputSectionBase;
Eugene Leviant531df4f2016-11-23 09:45:17 +000018struct EhSectionPiece;
19
Rafael Espindolab4c9b812017-02-23 02:28:28 +000020template <class ELFT> size_t readEhRecordSize(InputSectionBase *S, size_t Off);
Eugene Leviant531df4f2016-11-23 09:45:17 +000021template <class ELFT> uint8_t getFdeEncoding(EhSectionPiece *P);
Rui Ueyamaf5febef2016-05-24 02:55:45 +000022}
23}
24
25#endif