Rui Ueyama | f5febef | 2016-05-24 02:55:45 +0000 | [diff] [blame] | 1 | //===- EhFrame.h ------------------------------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Linker |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef LLD_ELF_EHFRAME_H |
| 11 | #define LLD_ELF_EHFRAME_H |
| 12 | |
| 13 | #include "lld/Core/LLVM.h" |
| 14 | |
| 15 | namespace lld { |
| 16 | namespace elf { |
| 17 | template <class ELFT> size_t readEhRecordSize(ArrayRef<uint8_t> Data); |
| 18 | template <class ELFT> uint8_t getFdeEncoding(ArrayRef<uint8_t> Data); |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | #endif |