2017-08-28 05:46:59 +08:00
|
|
|
//===- EhFrame.h ------------------------------------------------*- C++ -*-===//
|
|
|
|
//
|
2019-08-04 00:43:55 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2017-08-28 05:46:59 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLD_ELF_EHFRAME_H
|
|
|
|
#define LLD_ELF_EHFRAME_H
|
|
|
|
|
2018-01-18 06:29:21 +08:00
|
|
|
#include "lld/Common/LLVM.h"
|
2017-08-28 05:46:59 +08:00
|
|
|
|
|
|
|
namespace lld {
|
|
|
|
namespace elf {
|
|
|
|
class InputSectionBase;
|
|
|
|
struct EhSectionPiece;
|
|
|
|
|
2019-08-04 00:43:55 +08:00
|
|
|
size_t readEhRecordSize(InputSectionBase *s, size_t off);
|
|
|
|
uint8_t getFdeEncoding(EhSectionPiece *p);
|
2017-08-28 05:46:59 +08:00
|
|
|
} // namespace elf
|
|
|
|
} // namespace lld
|
|
|
|
|
|
|
|
#endif
|