| 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 { |
| Rafael Espindola | b4c9b81 | 2017-02-23 02:28:28 +0000 | [diff] [blame] | 17 | class InputSectionBase; |
| Eugene Leviant | 531df4f | 2016-11-23 09:45:17 +0000 | [diff] [blame] | 18 | struct EhSectionPiece; |
| 19 | |
| Rafael Espindola | b4c9b81 | 2017-02-23 02:28:28 +0000 | [diff] [blame] | 20 | template <class ELFT> size_t readEhRecordSize(InputSectionBase *S, size_t Off); |
| Eugene Leviant | 531df4f | 2016-11-23 09:45:17 +0000 | [diff] [blame] | 21 | template <class ELFT> uint8_t getFdeEncoding(EhSectionPiece *P); |
| Rui Ueyama | f5febef | 2016-05-24 02:55:45 +0000 | [diff] [blame] | 22 | } |
| 23 | } |
| 24 | |
| 25 | #endif |