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/Common/LLVM.h" 14 15 namespace lld { 16 namespace elf { 17 class InputSectionBase; 18 struct EhSectionPiece; 19 20 size_t readEhRecordSize(InputSectionBase *S, size_t Off); 21 uint8_t getFdeEncoding(EhSectionPiece *P); 22 } // namespace elf 23 } // namespace lld 24 25 #endif 26