2016-05-24 10:55:45 +08:00
|
|
|
//===- EhFrame.h ------------------------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Linker
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLD_ELF_EHFRAME_H
|
|
|
|
#define LLD_ELF_EHFRAME_H
|
|
|
|
|
|
|
|
#include "lld/Core/LLVM.h"
|
|
|
|
|
|
|
|
namespace lld {
|
|
|
|
namespace elf {
|
2017-02-23 10:28:28 +08:00
|
|
|
class InputSectionBase;
|
2016-11-23 17:45:17 +08:00
|
|
|
struct EhSectionPiece;
|
|
|
|
|
2017-02-23 10:28:28 +08:00
|
|
|
template <class ELFT> size_t readEhRecordSize(InputSectionBase *S, size_t Off);
|
2017-09-20 16:03:18 +08:00
|
|
|
template <class ELFT> uint8_t getFdeEncoding(EhSectionPiece *P);
|
2017-07-18 19:55:35 +08:00
|
|
|
} // namespace elf
|
|
|
|
} // namespace lld
|
2016-05-24 10:55:45 +08:00
|
|
|
|
|
|
|
#endif
|