2016-05-24 02:55:45 +00: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
|
|
|
|
|
2017-10-02 21:00:41 +00:00
|
|
|
#include "lld/Common/LLVM.h"
|
2016-05-24 02:55:45 +00:00
|
|
|
|
|
|
|
namespace lld {
|
|
|
|
namespace elf {
|
2017-02-23 02:28:28 +00:00
|
|
|
class InputSectionBase;
|
2016-11-23 09:45:17 +00:00
|
|
|
struct EhSectionPiece;
|
|
|
|
|
2017-10-27 03:14:09 +00:00
|
|
|
size_t readEhRecordSize(InputSectionBase *S, size_t Off);
|
|
|
|
uint8_t getFdeEncoding(EhSectionPiece *P);
|
2017-07-18 11:55:35 +00:00
|
|
|
} // namespace elf
|
|
|
|
} // namespace lld
|
2016-05-24 02:55:45 +00:00
|
|
|
|
|
|
|
#endif
|