forked from OSchip/llvm-project
26 lines
687 B
C++
26 lines
687 B
C++
//===- 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/Common/LLVM.h"
|
|
|
|
namespace lld {
|
|
namespace elf {
|
|
class InputSectionBase;
|
|
struct EhSectionPiece;
|
|
|
|
template <class ELFT> size_t readEhRecordSize(InputSectionBase *S, size_t Off);
|
|
template <class ELFT> uint8_t getFdeEncoding(EhSectionPiece *P);
|
|
} // namespace elf
|
|
} // namespace lld
|
|
|
|
#endif
|