]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lld/ELF/EhFrame.h
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lld / ELF / EhFrame.h
1 //===- EhFrame.h ------------------------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8
9 #ifndef LLD_ELF_EHFRAME_H
10 #define LLD_ELF_EHFRAME_H
11
12 #include "lld/Common/LLVM.h"
13
14 namespace lld {
15 namespace elf {
16 class InputSectionBase;
17 struct EhSectionPiece;
18
19 size_t readEhRecordSize(InputSectionBase *s, size_t off);
20 uint8_t getFdeEncoding(EhSectionPiece *p);
21 } // namespace elf
22 } // namespace lld
23
24 #endif